~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/sign_my_commits.py

  • Committer: Jonathan Riddell
  • Date: 2011-06-16 16:09:39 UTC
  • mto: (5971.2.3 bzr-gpgme)
  • mto: This revision was merged to the branch mainline in revision 6003.
  • Revision ID: jriddell@canonical.com-20110616160939-bib3t3ls5s67jovb
fix tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
            #all revisions by default including merges
140
140
            revisions = repo.get_ancestry(branch.last_revision())[1:]
141
141
        for rev_id in revisions:
142
 
            verification_result, uid =repo.verify_revision(rev_id,gpg_strategy)
 
142
            verification_result, uid = repo.verify_revision(rev_id,gpg_strategy)
143
143
            result.append([rev_id, verification_result, uid])
144
144
            count[verification_result] += 1
145
145
 
159
159
number))) #FIXME plural properly
160
160
               return 0
161
161
        else:
162
 
            if verbose:
163
 
                print "verbose"
164
162
            note(gettext("{0} commits with valid signatures").format(
165
163
                                        count[gpg.SIGNATURE_VALID]))
166
164
            if verbose: