~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml8.py

  • Committer: Frank Aspell
  • Date: 2009-02-22 16:54:02 UTC
  • mto: This revision was merged to the branch mainline in revision 4256.
  • Revision ID: frankaspell@googlemail.com-20090222165402-2myrucnu7er5w4ha
Fixing various typos

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
        """Extension point for subclasses to check during serialisation.
161
161
 
162
162
        :param inv: An inventory about to be serialised, to be checked.
163
 
        :raises: AssertionError if an error has occured.
 
163
        :raises: AssertionError if an error has occurred.
164
164
        """
165
165
        if inv.revision_id is None:
166
166
            raise AssertionError()
422
422
        if entry_cache is not None and revision is not None:
423
423
            key = (file_id, revision)
424
424
            try:
425
 
                # We copy it, because some operatations may mutate it
 
425
                # We copy it, because some operations may mutate it
426
426
                cached_ie = entry_cache[key]
427
427
            except KeyError:
428
428
                pass