~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-09-15 22:33:23 UTC
  • mfrom: (5410.1.3 bzr)
  • Revision ID: pqm@pqm.ubuntu.com-20100915223323-wdun3rsvmw8bfu5a
(jameinel) Fix bug #638034,
 Inventory.entries() should handle the empty inventory. (Daniel Knittl-Frank)

Show diffs side-by-side

added added

removed removed

Lines of Context:
836
836
                if ie.kind == 'directory':
837
837
                    descend(ie, child_path)
838
838
 
839
 
        descend(self.root, u'')
 
839
        if self.root is not None:
 
840
            descend(self.root, u'')
840
841
        return accum
841
842
 
842
843
    def directories(self):