Mercurial > treepkg
comparison bin/publishdebianpackages.py @ 426:56f7da71d41e treepkg-status
fixed a typo
regex fails if option is empty
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Wed, 28 Jul 2010 08:33:48 +0000 |
parents | a2ba58ffbfbe |
children | 3d65b3176159 |
comparison
equal
deleted
inserted
replaced
425:b0179962ce26 | 426:56f7da71d41e |
---|---|
228 dist = config["distribution"] | 228 dist = config["distribution"] |
229 if section is None: | 229 if section is None: |
230 section = config["section"] | 230 section = config["section"] |
231 | 231 |
232 architectures = config["architectures"] | 232 architectures = config["architectures"] |
233 allarchs = opy_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 EMPTY.match(config["after_upload_hook"]): | 238 if not config["after_upload_hook"] or \ |
239 not EMPTY.match(config["after_upload_hook"]): | |
239 if not quiet: | 240 if not quiet: |
240 print "running after upload hook" | 241 print "running after upload hook" |
241 call(config["after_upload_hook"]) | 242 call(config["after_upload_hook"]) |
242 | 243 |
243 def main(): | 244 def main(): |