~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Aaron Bentley
  • Date: 2007-05-24 15:36:19 UTC
  • mto: (1551.19.24 Aaron's mergeable stuff)
  • mto: This revision was merged to the branch mainline in revision 2506.
  • Revision ID: abentley@panoramicfeedback.com-20070524153619-o4ici00lpcmbshiw
RemoveĀ redundantĀ listdir

Show diffs side-by-side

added added

removed removed

Lines of Context:
1800
1800
            filename = self.relpath(abspath)
1801
1801
            if len(filename) > 0:
1802
1802
                new_files.add(filename)
1803
 
                if osutils.isdir(abspath) and len(os.listdir(abspath)) > 0:
 
1803
                if osutils.isdir(abspath):
1804
1804
                    recurse_directory_to_add_files(filename)
1805
1805
        files = [f for f in new_files]
1806
1806