/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/tree.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
        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,