# HG changeset patch # User Bjoern Ricks # Date 1280306330 0 # Node ID 3d65b317615942c51fc6d1e8841b0407ae16abce # Parent 56f7da71d41e739b00b162fa8317c0382bb2b65e fix if statement upload hook should be called if it's not empty diff -r 56f7da71d41e -r 3d65b3176159 bin/publishdebianpackages.py --- a/bin/publishdebianpackages.py Wed Jul 28 08:33:48 2010 +0000 +++ b/bin/publishdebianpackages.py Wed Jul 28 08:38:50 2010 +0000 @@ -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"