[Treepkg-commits] r387 - trunk/bin

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 28 10:35:08 CEST 2010


Author: bricks
Date: 2010-07-28 10:35:07 +0200 (Wed, 28 Jul 2010)
New Revision: 387

Modified:
   trunk/bin/publishpackages.py
Log:
only run upload hook if it is not empty


Modified: trunk/bin/publishpackages.py
===================================================================
--- trunk/bin/publishpackages.py	2010-07-28 08:33:48 UTC (rev 386)
+++ trunk/bin/publishpackages.py	2010-07-28 08:35:07 UTC (rev 387)
@@ -168,7 +168,8 @@
                               quiet)
 
     # update apt archive
-    call(config["after_upload_hook"])
+    if config["after_upload_hook"]:
+        call(config["after_upload_hook"])
 
 def main():
     options, args = parse_commandline()



More information about the Treepkg-commits mailing list