comparison bin/publishpackages.py @ 427:25d702bb13f9

only run upload hook if it is not empty
author Bjoern Ricks <bricks@intevation.de>
date Wed, 28 Jul 2010 08:35:07 +0000
parents 0862a14df80b
children 383d23c6bfde
comparison
equal deleted inserted replaced
385:09d6d11d7043 427:25d702bb13f9
166 for arch in ["binary-i386", "source"]: 166 for arch in ["binary-i386", "source"]:
167 publish_packages_arch(config, track, revision, dist, section, arch, 167 publish_packages_arch(config, track, revision, dist, section, arch,
168 quiet) 168 quiet)
169 169
170 # update apt archive 170 # update apt archive
171 call(config["after_upload_hook"]) 171 if config["after_upload_hook"]:
172 call(config["after_upload_hook"])
172 173
173 def main(): 174 def main():
174 options, args = parse_commandline() 175 options, args = parse_commandline()
175 publish_packages(options.config_file, options.track, options.revision, 176 publish_packages(options.config_file, options.track, options.revision,
176 options.dist, options.section, options.quiet) 177 options.dist, options.section, options.quiet)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)