summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17aef66)
raw | patch | inline | side by side (parent: 17aef66)
author | acspike <acspike@users.sourceforge.net> | |
Thu, 21 Jun 2007 11:49:24 +0000 (11:49 +0000) | ||
committer | acspike <acspike@users.sourceforge.net> | |
Thu, 21 Jun 2007 11:49:24 +0000 (11:49 +0000) |
share/extensions/funcplot.py | patch | blob | history |
index f0e84d6f68f87fe25bd3d34985f50c2ec2e49664..e478a4b304ccd9b90589cfc7d6d27c386b9e8eb2 100644 (file)
\r
#copy attributes of rect\r
s = node.get('style')\r
- newpath.set('style', s)\r
- try:\r
- t = node.get('transform')\r
+ if s:\r
+ newpath.set('style', s)\r
+ \r
+ t = node.get('transform')\r
+ if t:\r
newpath.set('transform', t)\r
- except AttributeError:\r
- pass\r
\r
# top and bottom where exchanhged\r
newpath.set('d', simplepath.formatPath(\r