~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-05 22:42:07 UTC
  • mfrom: (2586.1.4 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070705224207-7pslqt12ofh4vnzx
(robertc) New method external_url on Transport for obtaining the url to hand to external processes. Include the external_url for the backing_transport of SmartServer in the server_started and stopped hooks. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
        self.current = current
199
199
 
200
200
 
 
201
class InProcessTransport(BzrError):
 
202
 
 
203
    _fmt = "The transport '%(transport)s' is only accessible within this " \
 
204
        "process."
 
205
 
 
206
    def __init__(self, transport):
 
207
        self.transport = transport
 
208
 
 
209
 
201
210
class InvalidEntryName(BzrError):
202
211
    
203
212
    _fmt = "Invalid entry name: %(name)s"