Code cleanup: multiple spaces around keyword

This commit is contained in:
Sergey Sharybin 2013-11-15 02:48:09 +06:00
parent bfa70771de
commit ce3f2bfae5
1 changed files with 2 additions and 2 deletions

View File

@ -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: