summaryrefslogtreecommitdiffstats
path: root/share/extensions/extrude.py
diff options
context:
space:
mode:
authorAur??lio A. Heckert <aurium@gmail.com>2009-04-13 20:05:53 +0000
committeraurium <aurium@users.sourceforge.net>2009-04-13 20:05:53 +0000
commitf51b21e8bef6c68fec583454522e3487987f7635 (patch)
tree9da73b3363115a872754b37a25e791ea5b647c25 /share/extensions/extrude.py
parentallow svg_and_media_zip_output works with less informative svg files (diff)
downloadinkscape-f51b21e8bef6c68fec583454522e3487987f7635.tar.gz
inkscape-f51b21e8bef6c68fec583454522e3487987f7635.zip
more basic test files and basic effect corrections
(bzr r7706)
Diffstat (limited to 'share/extensions/extrude.py')
-rw-r--r--share/extensions/extrude.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/extensions/extrude.py b/share/extensions/extrude.py
index e1056bdfe..88ad26e49 100644
--- a/share/extensions/extrude.py
+++ b/share/extensions/extrude.py
@@ -86,7 +86,8 @@ class Extrude(inkex.Effect):
ele = inkex.etree.Element('{http://www.w3.org/2000/svg}path')
g.append(ele)
ele.set('d', simplepath.formatPath(line))
-
-e = Extrude()
-e.affect()
+
+if __name__ == '__main__': #pragma: no cover
+ e = Extrude()
+ e.affect()