~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.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:
147
147
        fp = fingerprint_file(f)
148
148
        f.seek(0)
149
149
        
150
 
        if ie.text_size != None:
 
150
        if ie.text_size is not None:
151
151
            if ie.text_size != fp['size']:
152
152
                raise BzrError("mismatched size for file %r in %r" % (ie.file_id, self._store),
153
153
                        ["inventory expects %d bytes" % ie.text_size,