[Bf-extensions-cvs] Git Commit [ce3f2bf] master: Code cleanup: multiple spaces around keyword

Sergey Sharybin noreply at git.blender.org
Thu Nov 14 21:48:41 CET 2013


Commit: ce3f2bfae5d50bfd1c2ea732f3f1dc2cb0aa451b
Author: Sergey Sharybin
Date:   Fri Nov 15 02:48:09 2013 +0600
http://developer.blender.org/rBAce3f2bfae5d50bfd1c2ea732f3f1dc2cb0aa451b

Code cleanup: multiple spaces around keyword

===================================================================

M	io_curve_svg/import_svg.py

===================================================================

diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py
index 0965b26..1b62ac1 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -95,7 +95,7 @@ def SVGParseFloat(s, i=0):
             raise Exception('Invalid float value near ' + s[start:start + 10])
 
     # Degree
-    if  i < n and (s[i] == 'e' or s[i] == 'E'):
+    if i < n and (s[i] == 'e' or s[i] == 'E'):
         token += s[i]
         i += 1
         if s[i] == '+' or s[i] == '-':
@@ -670,7 +670,7 @@ class SVGPathParser:
         self._point = (x, y)
 
         cur = self._data.cur()
-        while  cur is not None and not cur.isalpha():
+        while cur is not None and not cur.isalpha():
             x, y = self._getCoordPair(relative, self._point)
 
             if self._spline is None:



More information about the Bf-extensions-cvs mailing list