diff example/example.py @ 9:aa4eab6dc994

* dont set node width, height; * move save() to its own function
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 02 Jan 2011 11:39:45 -0800
parents 30d03e830354
children 1b077cb84be5
line wrap: on
line diff
--- a/example/example.py	Wed Dec 29 00:25:48 2010 -0800
+++ b/example/example.py	Sun Jan 02 11:39:45 2011 -0800
@@ -14,7 +14,7 @@
     inifile = os.path.join(dirname, 'example.gv.txt')
     svgfile = os.path.join(dirname, 'example.svg')
     app = MapserverMiddleware(example, svgfile)
-    app = SVGSiteMap(app, file=inifile, output=svgfile, name='foo.com')
+    app = SVGSiteMap(app, file=inifile, output=svgfile)
     return app
 
 if __name__ == '__main__':