Skip to content
Snippets Groups Projects
Commit ce3f2bfa authored by Sergey Sharybin's avatar Sergey Sharybin
Browse files

Code cleanup: multiple spaces around keyword

parent bfa70771
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ def SVGParseFloat(s, i=0): ...@@ -95,7 +95,7 @@ def SVGParseFloat(s, i=0):
raise Exception('Invalid float value near ' + s[start:start + 10]) raise Exception('Invalid float value near ' + s[start:start + 10])
# Degree # 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] token += s[i]
i += 1 i += 1
if s[i] == '+' or s[i] == '-': if s[i] == '+' or s[i] == '-':
...@@ -670,7 +670,7 @@ class SVGPathParser: ...@@ -670,7 +670,7 @@ class SVGPathParser:
self._point = (x, y) self._point = (x, y)
cur = self._data.cur() 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) x, y = self._getCoordPair(relative, self._point)
if self._spline is None: if self._spline is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment