/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 23:13:58 UTC
  • mto: (6621.2.2 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205231358-o72geu91y777qb3l
Apply 2to3 nonzero fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
            self._has_revno = True
77
77
        return self._revno
78
78
 
79
 
    def __nonzero__(self):
 
79
    def __bool__(self):
80
80
        if self.rev_id is None:
81
81
            return False
82
82
        # TODO: otherwise, it should depend on how I was built -