Mercurial > treepkg
comparison bin/publishdebianpackages.py @ 428:3d65b3176159 treepkg-status
fix if statement
upload hook should be called if it's not empty
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Wed, 28 Jul 2010 08:38:50 +0000 |
parents | 56f7da71d41e |
children | 9cfa9f64387a |
comparison
equal
deleted
inserted
replaced
426:56f7da71d41e | 428:3d65b3176159 |
---|---|
233 allarchs = copy_to_cachedir(config, track, revision, quiet, architectures) | 233 allarchs = copy_to_cachedir(config, track, revision, quiet, architectures) |
234 for arch in allarchs: | 234 for arch in allarchs: |
235 copy_to_publishdir(config, dist, section, arch, quiet) | 235 copy_to_publishdir(config, dist, section, arch, quiet) |
236 | 236 |
237 # update apt archive | 237 # update apt archive |
238 if not config["after_upload_hook"] or \ | 238 if config["after_upload_hook"] and \ |
239 not EMPTY.match(config["after_upload_hook"]): | 239 not EMPTY.match(config["after_upload_hook"]): |
240 if not quiet: | 240 if not quiet: |
241 print "running after upload hook" | 241 print "running after upload hook" |
242 call(config["after_upload_hook"]) | 242 call(config["after_upload_hook"]) |
243 | 243 |