~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/request.py

(andrew) Fix test_smart_request and test_smart_transport failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
    # and allow it to be streamed into the server.
272
272
 
273
273
    def __init__(self, backing_transport, commands, root_client_path,
274
 
        jail_root):
 
274
        jail_root=None):
275
275
        """Constructor.
276
276
 
277
277
        :param backing_transport: a Transport to handle requests for.
281
281
        self._backing_transport = backing_transport
282
282
        self._root_client_path = root_client_path
283
283
        self._commands = commands
 
284
        if jail_root is None:
 
285
            jail_root = backing_transport
284
286
        self._jail_root = jail_root
285
287
        self.response = None
286
288
        self.finished_reading = False