diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-27 06:04:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-27 06:04:08 +0300 |
commit | c01d4a1b422e6b6828ee438d35c95583e12f9b0c (patch) | |
tree | 65dee3cd0ee5542264c66546b48389a26dc092ed /io_curve_svg | |
parent | 70289fdb3784779766cf2f65d98ae065c1e63351 (diff) |
minor pep8 edits
Diffstat (limited to 'io_curve_svg')
-rw-r--r-- | io_curve_svg/import_svg.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py index f3f89508..00c11bcf 100644 --- a/io_curve_svg/import_svg.py +++ b/io_curve_svg/import_svg.py @@ -270,7 +270,7 @@ def SVGGetMaterial(color, context): elif color in svg_colors.SVGColors: diff = svg_colors.SVGColors[color] elif rgb_re.match(color): - c = rgb_re.findall(color) [0] + c = rgb_re.findall(color)[0] diff = (float(c[0]), float(c[1]), float(c[2])) else: return None @@ -775,7 +775,7 @@ class SVGPathParser: self._handle = (x1, y1) cur = self._data.cur() - def _calcArc(self, rx, ry, ang, fa, fs, x, y): + def _calcArc(self, rx, ry, ang, fa, fs, x, y): """ Calc arc paths @@ -890,7 +890,7 @@ class SVGPathParser: fs = float(self._data.next()) x, y = self._getCoordPair(code.islower(), self._point) - self._calcArc(rx, ry, ang, fa, fs, x, y) + self._calcArc(rx, ry, ang, fa, fs, x, y) self._point = (x, y) self._handle = None |