~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-07-22 02:25:19 UTC
  • mfrom: (3535.5.2 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080722022519-tu60do9k4tkjmtl4
(jam) fix raising an AssertionError to not supply bogus arguments
        (trivial)

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
        """Tell the builder that the inventory is finished."""
163
163
        if self.new_inventory.root is None:
164
164
            raise AssertionError('Root entry should be supplied to'
165
 
                ' record_entry_contents, as of bzr 0.10.',
166
 
                 DeprecationWarning, stacklevel=2)
 
165
                ' record_entry_contents, as of bzr 0.10.')
167
166
            self.new_inventory.add(InventoryDirectory(ROOT_ID, '', None))
168
167
        self.new_inventory.revision_id = self._new_revision_id
169
168
        self.inv_sha1 = self.repository.add_inventory(