-
Committer:
Vincent Ladeuil
-
Date:
2007-11-14 08:05:32 UTC
-
mto:
(2992.1.1 trunk)
-
mto:
This revision was merged to the branch mainline in
revision
2994.
-
Revision ID:
v.ladeuil+lp@free.fr-20071114080532-1zcuhjjlyz5ml2pu
Detect invalid transport reuse attempts by catching invalid URLs.
* bzrlib/transport/__init__.py:
(ConnectedTransport._reuse_for): Catch invalid URLs and returns
None.
* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test__reuse_for): _reuse_for now returns None for
invalid URLs.