~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-09 18:02:00 UTC
  • mfrom: (1963.2.7 bzr.dev.no_has_key)
  • Revision ID: pqm@pqm.ubuntu.com-20060909180200-96e41112dff213f3
(robey) remove hasattr and == None in favor of getattr() and is None

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
        if self._last_revision is NULL_REVISION:
148
148
            # explicit limit of no revisions needed
149
149
            return None
150
 
        if (self._last_revision != None and
 
150
        if (self._last_revision is not None and
151
151
            self.to_repository.has_revision(self._last_revision)):
152
152
            return None
153
153