code cleanup

fixed line too long
This commit is contained in:
pborunda 2017-02-10 09:04:03 -07:00
parent 66f1e7884e
commit 262b37a0f9

View file

@ -2568,7 +2568,9 @@ def scourCoordinates(data, options, forceCommaWsp=False, cmd=''):
previousCoord = '' previousCoord = ''
for coord in data: for coord in data:
cp = ((cmd == 'c' and (c % 6) < 4) or (cmd == 's' and (c % 4) < 2)) cp = ((cmd == 'c' and (c % 6) < 4) or (cmd == 's' and (c % 4) < 2))
scouredCoord = scourUnitlessLength(coord, needsRendererWorkaround=options.renderer_workaround, isControlPoint=cp) scouredCoord = scourUnitlessLength(coord,
needsRendererWorkaround=options.renderer_workaround,
isControlPoint=cp)
# only need the comma if the current number starts with a digit # only need the comma if the current number starts with a digit
# (numbers can start with - without needing a comma before) # (numbers can start with - without needing a comma before)
# or if forceCommaWsp is True # or if forceCommaWsp is True