~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_chk_map_py.py

  • Committer: John Arbash Meinel
  • Date: 2009-10-21 21:27:19 UTC
  • mto: This revision was merged to the branch mainline in revision 4771.
  • Revision ID: john@arbash-meinel.com-20091021212719-05zh4t7oo5kaird3
More cleanups and clarifications.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        value_lines = lines[pos:pos+num_value_lines]
96
96
        pos += num_value_lines
97
97
        value = '\n'.join(value_lines)
98
 
        items[StaticTuple(*elements[:-1])] = value
 
98
        items[StaticTuple.from_sequence(elements[:-1])] = value
99
99
    if len(items) != length:
100
100
        raise AssertionError("item count (%d) mismatch for key %s,"
101
101
            " bytes %r" % (length, key, bytes))