[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.47-17-ga7f2df4
Andreas Beckmann
debian at abeckmann.de
Sat Nov 3 00:08:34 UTC 2012
The following commit has been merged in the piatti branch:
commit 2ae40a623c1a097d16e9137d488f58b3153579ba
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Thu Oct 4 02:10:54 2012 +0200
p-r: use os.makedirs() for creating output dirs
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/piuparts-report.py b/piuparts-report.py
index 3ab6a25..f05ad85 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -1235,7 +1235,7 @@ class Section:
self._section_names = section_names
self._output_directory = os.path.abspath(os.path.join(output_directory, self._config.section))
if not os.path.exists(self._output_directory):
- os.mkdir(self._output_directory)
+ os.makedirs(self._output_directory)
oldcwd = os.getcwd()
os.chdir(self._master_directory)
--
piuparts git repository
More information about the Piuparts-commits
mailing list