[Treepkg-commits] r403 - trunk/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Aug 6 17:00:51 CEST 2010
Author: bricks
Date: 2010-08-06 17:00:51 +0200 (Fri, 06 Aug 2010)
New Revision: 403
Modified:
trunk/treepkg/web.py
Log:
fix: function name is makedirs instead of mkdirs
Modified: trunk/treepkg/web.py
===================================================================
--- trunk/treepkg/web.py 2010-08-06 14:27:01 UTC (rev 402)
+++ trunk/treepkg/web.py 2010-08-06 15:00:51 UTC (rev 403)
@@ -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")
More information about the Treepkg-commits
mailing list