~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: John Arbash Meinel
  • Date: 2005-11-30 15:43:57 UTC
  • mto: (1185.50.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1518.
  • Revision ID: john@arbash-meinel.com-20051130154357-614206b3a7b83cd0
Refactored bzrlib/ui.py into a module with the possibility for multiple ui forms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
418
418
        self.children = {}
419
419
        self.kind = 'root_directory'
420
420
        self.parent_id = None
421
 
        self.name = ''
 
421
        self.name = u''
422
422
 
423
423
    def __eq__(self, other):
424
424
        if not isinstance(other, RootEntry):
782
782
                if ie.kind == 'directory':
783
783
                    descend(ie, child_path)
784
784
 
785
 
        descend(self.root, '')
 
785
        descend(self.root, u'')
786
786
        return accum
787
787
 
788
788
 
799
799
            for name, child_ie in kids:
800
800
                child_path = os.path.join(parent_path, name)
801
801
                descend(child_ie, child_path)
802
 
        descend(self.root, '')
 
802
        descend(self.root, u'')
803
803
        return accum
804
804
        
805
805