~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/chk_map.py

  • Committer: Matt Nordhoff
  • Date: 2009-03-31 17:10:57 UTC
  • mto: (4265.1.1 bbc-merge)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: mnordhoff@mattnordhoff.com-20090331171057-l0ct5wv4z8j4j68z
Improve an assertion message slightly, and fix typos in 2 others

Show diffs side-by-side

added added

removed removed

Lines of Context:
739
739
        :return: (common_serialised_prefix, [(node_serialised_prefix, node)])
740
740
        """
741
741
        if self._search_prefix is _unknown:
742
 
            raise AssertionError('%r must be known' % self._search_prefix)
 
742
            raise AssertionError('Search prefix must be known')
743
743
        common_prefix = self._search_prefix
744
744
        split_at = len(common_prefix) + 1
745
745
        result = {}