/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/smart/request.py

  • Committer: Andrew Bennetts
  • Date: 2007-12-14 01:43:48 UTC
  • mto: This revision was merged to the branch mainline in revision 3320.
  • Revision ID: andrew.bennetts@canonical.com-20071214014348-xj6q4064e27mw3gl
Improve comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        :param root_client_path: the client path that maps to the root of
49
49
            backing_transport.  This is used to interpret relpaths received
50
50
            from the client.  Clients will not be able to refer to paths above
51
 
            this root.
 
51
            this root.  If root_client_path is None, then no translation will
 
52
            be performed on client paths.  Default is '/'.
52
53
        """
53
54
        self._backing_transport = backing_transport
54
55
        if root_client_path is not None:
126
127
        :returns: a transport cloned from self._backing_transport
127
128
        """
128
129
        relpath = self.translate_client_path(client_path)
129
 
        result = self._backing_transport.clone(relpath)
130
 
        return result
 
130
        return self._backing_transport.clone(relpath)
131
131
 
132
132
 
133
133
class SmartServerResponse(object):