~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/code-import-worker.py

Merge safe-open branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    def __init__(self):
59
59
        parser = OptionParser()
60
60
        scripts.logger_options(parser)
61
 
        parser.add_option("--access-policy", type="choice", metavar="ACCESS_POLICY",
62
 
            choices=["anything", "default"], default="default")
 
61
        parser.add_option(
 
62
            "--access-policy", type="choice", metavar="ACCESS_POLICY",
 
63
            choices=["anything", "default"], default="default",
 
64
            help="Access policy to use when accessing branches to import.")
63
65
        self.options, self.args = parser.parse_args()
64
66
        self.logger = scripts.logger(self.options, 'code-import-worker')
65
67