~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml5.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:
236
236
        get_cached = cache_utf8.get_cached_unicode
237
237
 
238
238
        parent_id = elt.get('parent_id')
239
 
        if parent_id == None:
 
239
        if parent_id is None:
240
240
            parent_id = ROOT_ID
241
241
        # TODO: jam 20060817 At present, caching file ids costs us too 
242
242
        #       much time. It slows down overall read performances from