diff options
author | Gianluca Montecchi <gian@grys.it> | 2009-10-21 23:30:35 +0200 |
---|---|---|
committer | Gianluca Montecchi <gian@grys.it> | 2009-10-21 23:30:35 +0200 |
commit | 89fe7bf7ab6813ed21361941ac17253895d07b03 (patch) | |
tree | 669d8ddc0cf838ecf9ee6b60c4512966cb963c74 | |
parent | 2e235351d68715d0b232d48c21974ef6a89bb685 (diff) | |
download | bugseverywhere-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)
-rw-r--r-- | becommands/html.py | 2 |
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") |