~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Aaron Bentley
  • Date: 2008-04-29 15:20:14 UTC
  • mfrom: (3380.3.3 cleanup)
  • mto: This revision was merged to the branch mainline in revision 3392.
  • Revision ID: aaron@aaronbentley.com-20080429152014-wdr2jy5xw1nk1yov
merge with cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
859
859
        body = self._serialise_search_recipe(recipe)
860
860
        path = self.bzrdir._path_for_remote_call(self._client)
861
861
        for key in keys:
862
 
            assert type(key) is str
 
862
            if type(key) is not str:
 
863
                raise ValueError(
 
864
                    "key %r not a plain string" % (key,))
863
865
        verb = 'Repository.get_parent_map'
864
866
        args = (path,) + tuple(keys)
865
867
        try: