~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.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:
1570
1570
            entries = inv.iter_entries()
1571
1571
            entries.next()
1572
1572
            for path, ie in entries:
1573
 
                assert getattr(ie, 'revision', None) != None, \
 
1573
                assert getattr(ie, 'revision', None) is not None, \
1574
1574
                    'no revision on {%s} in {%s}' % \
1575
1575
                    (file_id, rev.revision_id)
1576
1576
        new_inv_xml = bzrlib.xml5.serializer_v5.write_inventory_to_string(inv)