~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/treeshape.py

  • Committer: abentley
  • Date: 2005-10-14 03:50:50 UTC
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1460.
  • Revision ID: abentley@lappy-20051014035050-d779472ccb599a51
semi-broke merge

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))