/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 breezy/bzr/inventory.py

  • Committer: Jelmer Vernooij
  • Date: 2018-02-18 19:18:40 UTC
  • mto: This revision was merged to the branch mainline in revision 6928.
  • Revision ID: jelmer@jelmer.uk-20180218191840-2wezg20u9ffbfmed
Fix more bees, use with rather than try/finally for some files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
676
676
                return
677
677
            from_dir = self.root
678
678
            yield '', self.root
679
 
        elif isinstance(from_dir, (str, text_type)):
 
679
        elif isinstance(from_dir, bytes):
680
680
            from_dir = self[from_dir]
681
681
 
682
682
        # unrolling the recursive called changed the time from