~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-01-15 00:34:05 UTC
  • mfrom: (3104.4.7 bzr-http-client)
  • Revision ID: pqm@pqm.ubuntu.com-20080115003405-jfuumkpctmvl2e4r
(andrew) Calculate remote path relative to the shared medium in
        _SmartClient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1262
1262
class _SharedConnection(object):
1263
1263
    """A connection shared between several transports."""
1264
1264
 
1265
 
    def __init__(self, connection=None, credentials=None):
 
1265
    def __init__(self, connection=None, credentials=None, base=None):
1266
1266
        """Constructor.
1267
1267
 
1268
1268
        :param connection: An opaque object specific to each transport.
1272
1272
        """
1273
1273
        self.connection = connection
1274
1274
        self.credentials = credentials
 
1275
        self.base = base
1275
1276
 
1276
1277
 
1277
1278
class ConnectedTransport(Transport):