~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/sign_my_commits.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-11 04:19:50 UTC
  • mfrom: (2598.1.5 check-options)
  • Revision ID: pqm@pqm.ubuntu.com-20070711041950-ci5yz9nyhbcdmuqv
(mbp,r=jamesw,r=aaron) Make option grammar consistent and enforce that with a test

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    # (both mainline and merged), but not other revisions that may be in the
42
42
    # repository
43
43
 
44
 
    takes_options = [Option('dry-run'
45
 
                            , help='Don\'t actually sign anything, just print'
46
 
                                   ' the revisions that would be signed')
47
 
                    ]
 
44
    takes_options = [
 
45
            Option('dry-run',
 
46
                   help='Don\'t actually sign anything, just print'
 
47
                        ' the revisions that would be signed.'),
 
48
            ]
48
49
    takes_args = ['location?', 'committer?']
49
50
 
50
51
    def run(self, location=None, committer=None, dry_run=False):