~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/treeshape.py

  • Committer: John Arbash Meinel
  • Date: 2008-08-25 21:50:11 UTC
  • mfrom: (0.11.3 tools)
  • mto: This revision was merged to the branch mainline in revision 3659.
  • Revision ID: john@arbash-meinel.com-20080825215011-de9esmzgkue3e522
Merge in Lukáš's helper scripts.
Update the packaging documents to describe how to do the releases
using bzr-builddeb to package all distro platforms
simultaneously.

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
 
            assert not (fullpath[-1] in '@/')
 
68
            if (fullpath[-1] in '@/'):
 
69
                raise AssertionError(fullpath)
69
70
            info = os.lstat(fullpath)
70
71
            if stat.S_ISLNK(info.st_mode):
71
72
                yield (fullpath + '@', os.readlink(fullpath))