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

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


Author: bricks
Date: 2010-07-28 10:33:48 +0200 (Wed, 28 Jul 2010)
New Revision: 386

Modified:
   branches/treepkg-status/bin/publishdebianpackages.py
Log:
fixed a typo
regex fails if option is empty


Modified: branches/treepkg-status/bin/publishdebianpackages.py
===================================================================
--- branches/treepkg-status/bin/publishdebianpackages.py	2010-07-28 07:35:54 UTC (rev 385)
+++ branches/treepkg-status/bin/publishdebianpackages.py	2010-07-28 08:33:48 UTC (rev 386)
@@ -230,12 +230,13 @@
         section = config["section"]
 
     architectures = config["architectures"]
-    allarchs = opy_to_cachedir(config, track, revision, quiet, architectures)
+    allarchs = copy_to_cachedir(config, track, revision, quiet, architectures)
     for arch in allarchs:
         copy_to_publishdir(config, dist, section, arch, quiet)
 
     # update apt archive
-    if not EMPTY.match(config["after_upload_hook"]):
+    if not config["after_upload_hook"] or \
+        not EMPTY.match(config["after_upload_hook"]):
         if not quiet:
             print "running after upload hook"
         call(config["after_upload_hook"])



More information about the Treepkg-commits mailing list