~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-11 20:05:06 UTC
  • mto: (1185.11.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050711200506-c5072c467f0f70df
Fixed bzr root.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
        raise NotImplementedError
286
286
 
287
287
def transport(base):
 
288
    if base is None:
 
289
        base = '.'
288
290
    for proto, klass in protocol_handlers.iteritems():
289
291
        if proto is not None and base.startswith(proto):
290
292
            return klass(base)