~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

Merge from mbp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
355
355
def get_transport(base):
356
356
    global _protocol_handlers
357
357
    if base is None:
358
 
        base = '.'
 
358
        base = u'.'
359
359
    for proto, klass in _protocol_handlers.iteritems():
360
360
        if proto is not None and base.startswith(proto):
361
361
            return klass(base)