~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/bundle_data.py

  • Committer: Robey Pointer
  • Date: 2006-09-08 18:46:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1996.
  • Revision ID: robey@lag.net-20060908184629-e3fc4c61ca21508c
pychecker is on crack; go back to using 'is None'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
539
539
            return None
540
540
        if old_path in self.deleted:
541
541
            return None
542
 
        if getattr(self.base_tree, 'path2id', None) != None:
 
542
        if getattr(self.base_tree, 'path2id', None) is not None:
543
543
            return self.base_tree.path2id(old_path)
544
544
        else:
545
545
            return self.base_tree.inventory.path2id(old_path)