~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml5.py

  • Committer: Joe Julian
  • Date: 2010-01-10 02:25:31 UTC
  • mto: (4634.119.7 2.0)
  • mto: This revision was merged to the branch mainline in revision 4959.
  • Revision ID: joe@julianfamily.org-20100110022531-wqk61rsagz8xsiga
Added MANIFEST.in to allow bdist_rpm to have all the required include files and tools. bdist_rpm will still fail to build correctly on some distributions due to a disttools bug http://bugs.python.org/issue644744

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        format = elt.get('format')
40
40
        if format is not None:
41
41
            if format != '5':
42
 
                raise BzrError("invalid format version %r on inventory"
43
 
                                % format)
 
42
                raise errors.BzrError("invalid format version %r on inventory"
 
43
                                      % format)
44
44
        data_revision_id = elt.get('revision_id')
45
45
        if data_revision_id is not None:
46
46
            revision_id = cache_utf8.encode(data_revision_id)
83
83
        In this version, no checking is done.
84
84
 
85
85
        :param inv: An inventory about to be serialised, to be checked.
86
 
        :raises: AssertionError if an error has occured.
 
86
        :raises: AssertionError if an error has occurred.
87
87
        """
88
88
 
89
89
    def _append_inventory_root(self, append, inv):