~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/treeshape.py

  • Committer: Robert Collins
  • Date: 2005-10-17 11:56:54 UTC
  • mfrom: (1185.16.59)
  • Revision ID: robertc@robertcollins.net-20051017115654-662239e1587524a8
mergeĀ fromĀ martin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        filenames.sort()
65
65
        for fn in filenames:
66
66
            fullpath = os.path.join(dirpath, fn)
67
 
            self.assertFalse(fullpath[-1] in '@/')
 
67
            assert fullpath[-1] not in '@/'
68
68
            info = os.lstat(fullpath)
69
69
            if stat.S_ISLNK(info.st_mode):
70
70
                yield (fullpath + '@', os.readlink(fullpath))