[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51
Andreas Beckmann
anbe at debian.org
Wed May 15 10:10:02 UTC 2013
The following commit has been merged in the master branch:
commit e4ea18fc7dbebab330b98852f73ddb5dc32a2306
Author: Andreas Beckmann <anbe at debian.org>
Date: Sun May 12 18:07:37 2013 +0200
p-s: exit gracefully if no sections were found
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/piuparts-slave.py b/piuparts-slave.py
index e4ab749..c5c7f00 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -878,6 +878,10 @@ def main():
# ignore unknown sections
pass
+ if not sections:
+ logging.error("no sections found")
+ return
+
while True:
global got_sighup
test_count = 0
--
piuparts git repository
More information about the Piuparts-commits
mailing list