aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-10-24 07:21:07 -0400
committerW. Trevor King <wking@drexel.edu>2009-10-24 07:21:07 -0400
commit0b51c1b9a7495821dcdf444eb636b4764b96c0b1 (patch)
treed1b7173a3349ea831f937c644bdf25fce00f475a
parent8a89d3737b59b89cde7059969644136eb8c76c61 (diff)
parenta60e599798d43ba930efc1f8e2f184d3e8262189 (diff)
downloadbugseverywhere-0b51c1b9a7495821dcdf444eb636b4764b96c0b1.tar.gz
Merged Gianluca's nested directory fix.
-rw-r--r--becommands/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/html.py b/becommands/html.py
index d1bd625..b0640da 100644
--- a/becommands/html.py
+++ b/becommands/html.py
@@ -304,7 +304,7 @@ class HTMLGen (object):
dir_path = os.path.abspath(os.path.expanduser(dir_path))
if not os.path.exists(dir_path):
try:
- os.mkdir(dir_path)
+ os.makedirs(dir_path)
except:
raise cmdutil.UsageError, "Cannot create output directory '%s'." % dir_path
return dir_path