From: pjrm Date: Tue, 17 Mar 2009 03:13:10 +0000 (+0000) Subject: noop: whitespace X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4a61cb7241913c1b27d6c30c84ce4ab91915a6f2;p=inkscape.git noop: whitespace --- diff --git a/share/extensions/simpletransform.py b/share/extensions/simpletransform.py index b2f6a0e96..ec224990b 100644 --- a/share/extensions/simpletransform.py +++ b/share/extensions/simpletransform.py @@ -23,7 +23,7 @@ attribute easier. import inkex, cubicsuperpath, bezmisc, simplestyle import copy, math, re -def parseTransform(transf,mat=[[1.0,0.0,0.0],[0.0,1.0,0.0]]): +def parseTransform(transf,mat=[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]): if transf=="" or transf==None: return(mat) stransf = transf.strip() @@ -66,25 +66,25 @@ def parseTransform(transf,mat=[[1.0,0.0,0.0],[0.0,1.0,0.0]]): #-- matrix -- if result.group(1)=="matrix": a11,a21,a12,a22,v1,v2=result.group(2).replace(',',' ').split() - matrix=[[float(a11),float(a12),float(v1)],[float(a21),float(a22),float(v2)]] + matrix=[[float(a11),float(a12),float(v1)], [float(a21),float(a22),float(v2)]] matrix=composeTransform(mat,matrix) - if result.end()