Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-27 06:04:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-27 06:04:08 +0300
commitc01d4a1b422e6b6828ee438d35c95583e12f9b0c (patch)
tree65dee3cd0ee5542264c66546b48389a26dc092ed /io_curve_svg
parent70289fdb3784779766cf2f65d98ae065c1e63351 (diff)
minor pep8 edits
Diffstat (limited to 'io_curve_svg')
-rw-r--r--io_curve_svg/import_svg.py6
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