changeset 443:464b2947af23

fix: function name is makedirs instead of mkdirs
author Bjoern Ricks <bricks@intevation.de>
date Fri, 06 Aug 2010 15:00:51 +0000
parents c29714c601da
children cb061f0474ba
files treepkg/web.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/web.py	Fri Aug 06 14:27:01 2010 +0000
+++ b/treepkg/web.py	Fri Aug 06 15:00:51 2010 +0000
@@ -71,7 +71,7 @@
         """Creates a static web-page under destdir"""
         # make sure we have an empty destdir
         shutil.rmtree(destdir, True)
-        os.mkdirs(destdir)
+        os.makedirs(destdir)
 
         # create the index file
         f = open(os.path.join(destdir, "index.html"), "wt")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)