~ursinha/lp-qa-tools/bzr-tarmacland

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: John Arbash Meinel
  • Date: 2007-11-06 03:55:54 UTC
  • Revision ID: john@arbash-meinel.com-20071106035554-phw09tggwjifrxg9
Fix bug #110100, Add a --submit-location option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
        Option('dry-run', help='Print request instead of sending.'),
74
74
        Option('public-location', type=str,
75
75
               help='Use this url as the public location to the pqm.'),
 
76
        Option('submit-location', type=str,
 
77
               help='Use this url as the target submission location.'),
76
78
        ]
77
79
 
78
 
    def run(self, location=None, message=None, public_location=None, dry_run=False):
 
80
    def run(self, location=None, message=None, public_location=None,
 
81
            dry_run=False, submit_location=None):
79
82
        if __name__ != 'bzrlib.plugins.pqm':
80
83
            from bzrlib import trace
81
84
            trace.warning('The bzr-pqm plugin needs to be called'
97
100
                                          % (b.base,))
98
101
        submit(b, message=message, dry_run=dry_run,
99
102
               public_location=public_location,
 
103
               submit_location=submit_location,
100
104
               tree=tree)
101
105
 
102
106