[Piuparts-commits] rev 195 - in trunk: . debian
Holger Levsen
holger at alioth.debian.org
Tue Mar 10 14:24:53 UTC 2009
Author: holger
Date: 2009-03-10 14:24:52 +0000 (Tue, 10 Mar 2009)
New Revision: 195
Modified:
trunk/debian/changelog
trunk/piuparts.py
Log:
Add check whether scriptsdir exits, to fail gracefully if not.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-03-10 00:11:25 UTC (rev 194)
+++ trunk/debian/changelog 2009-03-10 14:24:52 UTC (rev 195)
@@ -1,3 +1,9 @@
+piuparts (0.36) UNRELEASED; urgency=low
+
+ * Add check whether scriptsdir exits, to fail gracefully if not.
+
+ -- Holger Levsen <holger at debian.org> Tue, 10 Mar 2009 15:23:59 +0100
+
piuparts (0.35) unstable; urgency=medium
* Fix recursive failure which occured when selinux-utils was installed but
Modified: trunk/piuparts.py
===================================================================
--- trunk/piuparts.py 2009-03-10 00:11:25 UTC (rev 194)
+++ trunk/piuparts.py 2009-03-10 14:24:52 UTC (rev 195)
@@ -978,6 +978,8 @@
logging.info("Running scripts "+ step)
basepath = self.relative("tmp/scripts/")
+ if not os.path.exists(basepath):
+ panic()
list_scripts = os.listdir(basepath)
list_scripts.sort()
for file in list_scripts:
More information about the Piuparts-commits
mailing list