~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_py.py

  • Committer: Andrew Bennetts
  • Date: 2008-07-28 07:17:25 UTC
  • mto: This revision was merged to the branch mainline in revision 3585.
  • Revision ID: andrew.bennetts@canonical.com-20080728071725-k0ol8cpay2w33j1x
Fix trivial bug in an AssertionError.

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
    # Remove the last blank entry
202
202
    trailing = fields.pop()
203
203
    if trailing != '':
204
 
        raise AssertionError("dirstate line %r has trailing garbage: %r" 
 
204
        raise AssertionError("dirstate file has trailing garbage: %r"
205
205
            % (trailing,))
206
206
    # consider turning fields into a tuple.
207
207