From c01d4a1b422e6b6828ee438d35c95583e12f9b0c Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Sun, 27 Feb 2011 03:04:08 +0000 Subject: [PATCH] minor pep8 edits --- io_curve_svg/import_svg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py index f3f89508c..00c11bcfe 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 -- GitLab