aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/html.py
diff options
context:
space:
mode:
authorGianluca Montecchi <gian@grys.it>2009-10-21 23:30:35 +0200
committerGianluca Montecchi <gian@grys.it>2009-10-21 23:30:35 +0200
commit89fe7bf7ab6813ed21361941ac17253895d07b03 (patch)
tree669d8ddc0cf838ecf9ee6b60c4512966cb963c74 /becommands/html.py
parent2e235351d68715d0b232d48c21974ef6a89bb685 (diff)
downloadbugseverywhere-89fe7bf7ab6813ed21361941ac17253895d07b03.tar.gz
Fixed a problem with the creation of nested directory
(i.e.: be html -o dir1/dir2 failed to create dir2 if dir1 does not exists)
Diffstat (limited to 'becommands/html.py')
-rw-r--r--becommands/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/html.py b/becommands/html.py
index 232aa80..708077e 100644
--- a/becommands/html.py
+++ b/becommands/html.py
@@ -173,7 +173,7 @@ class HTMLGen (object):
self.out_dir = os.path.abspath(os.path.expanduser(out_dir))
if not os.path.exists(self.out_dir):
try:
- os.mkdir(self.out_dir)
+ os.makedirs(self.out_dir)
except:
raise cmdutil.UsageError, "Cannot create output directory '%s'." % self.out_dir
self.out_dir_bugs = os.path.join(self.out_dir, "bugs")