#!/usr/bin/env python
-"""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
################################################################################
-import os, os.path, stat, sys
+import os
+import os.path
+import stat
+import sys
from datetime import datetime
import apt_pkg
-a, --all run on all known build queues
-n, --no-action don't do anything
- -v, --verbose explain what is being done
-h, --help show this help and exit"""
sys.exit(exit_code)
cnf = Config()
- for i in ["Help", "No-Action", "Verbose", "All"]:
+ for i in ["Help", "No-Action", "All"]:
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")