~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml5.py

  • Committer: Martin Pool
  • Date: 2005-09-22 01:20:17 UTC
  • Revision ID: mbp@sourcefrog.net-20050922012017-a4b555ab2a20734e
- better assertion message

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
 
115
115
    def _unpack_entry(self, elt):
116
116
        kind = elt.tag
117
 
        assert kind == 'directory' or kind == 'file'
 
117
        assert kind == 'directory' or kind == 'file', \
 
118
            'unsupported entry kind %s' % kind
118
119
 
119
120
        parent_id = elt.get('parent_id')
120
121
        if parent_id == None: