~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_py.py

  • Committer: Martin Pool
  • Date: 2008-05-08 04:12:06 UTC
  • mto: This revision was merged to the branch mainline in revision 3415.
  • Revision ID: mbp@sourcefrog.net-20080508041206-tkrr8ucmcyrlzkum
Some review cleanups for assertion removal

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("dirtstate line %r has trailing garbage: %r" 
 
204
        raise AssertionError("dirstate line %r has trailing garbage: %r" 
205
205
            % (trailing,))
206
206
    # consider turning fields into a tuple.
207
207