-"""Manage build queues"""
-# Copyright (C) 2000, 2001, 2002, 2006 James Troup <james@nocrew.org>
-# Copyright (C) 2009 Mark Hymers <mhy@debian.org>
+""" Manage build queues
+
+@contact: Debian FTPMaster <ftpmaster@debian.org>
+@copyright: 2000, 2001, 2002, 2006 James Troup <james@nocrew.org>
+@copyright: 2009 Mark Hymers <mhy@debian.org>
+
+"""
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-a, --all run on all known build queues
-n, --no-action don't do anything
-a, --all run on all known build queues
-n, --no-action don't do anything
if not cnf.has_key("Manage-Build-Queues::Options::%s" % (i)):
cnf["Manage-Build-Queues::Options::%s" % (i)] = ""
Arguments = [('h',"help","Manage-Build-Queues::Options::Help"),
('n',"no-action","Manage-Build-Queues::Options::No-Action"),
if not cnf.has_key("Manage-Build-Queues::Options::%s" % (i)):
cnf["Manage-Build-Queues::Options::%s" % (i)] = ""
Arguments = [('h',"help","Manage-Build-Queues::Options::Help"),
('n',"no-action","Manage-Build-Queues::Options::No-Action"),
- ('a',"all","Manage-Build-Queues::Options::All"),
- ('v',"verbose","Manage-Build-Queues::Options::Verbose")]
+ ('a',"all","Manage-Build-Queues::Options::All")]
queue_names = apt_pkg.ParseCommandLine(cnf.Cnf, Arguments, sys.argv)
Options = cnf.SubTree("Manage-Build-Queues::Options")
queue_names = apt_pkg.ParseCommandLine(cnf.Cnf, Arguments, sys.argv)
Options = cnf.SubTree("Manage-Build-Queues::Options")
# For each given queue, look up object and call manage_queue
for q in queues:
Logger.log(['cleaning queue %s using datetime %s' % (q.queue_name, starttime)])
# For each given queue, look up object and call manage_queue
for q in queues:
Logger.log(['cleaning queue %s using datetime %s' % (q.queue_name, starttime)])