~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/treeshape.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-20 06:38:49 UTC
  • mfrom: (1773.4.3 bzr.mbp.pyflakes)
  • Revision ID: pqm@pqm.ubuntu.com-20060620063849-400861427a3a9ff1
(mbp) pyflakes cleanups

Show diffs side-by-side

added added

removed removed

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