~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:59:27 UTC
  • Revision ID: john@arbash-meinel.com-20071106035927-akvtsswk9zlcohou
change the parameter to --submit-branch since submit_branch is the config entry.

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
        Option('submit-branch', type=str,
 
77
               help='Use this url as the target submission branch.'),
78
78
        ]
79
79
 
80
80
    def run(self, location=None, message=None, public_location=None,
81
 
            dry_run=False, submit_location=None):
 
81
            dry_run=False, submit_branch=None):
82
82
        if __name__ != 'bzrlib.plugins.pqm':
83
83
            from bzrlib import trace
84
84
            trace.warning('The bzr-pqm plugin needs to be called'
100
100
                                          % (b.base,))
101
101
        submit(b, message=message, dry_run=dry_run,
102
102
               public_location=public_location,
103
 
               submit_location=submit_location,
 
103
               submit_location=submit_branch,
104
104
               tree=tree)
105
105
 
106
106