[Treepkg-commits] r388 - branches/treepkg-status/bin

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


Author: bricks
Date: 2010-07-28 10:38:50 +0200 (Wed, 28 Jul 2010)
New Revision: 388

Modified:
   branches/treepkg-status/bin/publishdebianpackages.py
Log:
fix if statement
upload hook should be called if it's not empty


Modified: branches/treepkg-status/bin/publishdebianpackages.py
===================================================================
--- branches/treepkg-status/bin/publishdebianpackages.py	2010-07-28 08:35:07 UTC (rev 387)
+++ branches/treepkg-status/bin/publishdebianpackages.py	2010-07-28 08:38:50 UTC (rev 388)
@@ -235,7 +235,7 @@
         copy_to_publishdir(config, dist, section, arch, quiet)
 
     # update apt archive
-    if not config["after_upload_hook"] or \
+    if config["after_upload_hook"] and \
         not EMPTY.match(config["after_upload_hook"]):
         if not quiet:
             print "running after upload hook"



More information about the Treepkg-commits mailing list