Rev 2217: Tidy imports in HTTPTestUtil.py in sftp://bazaar.launchpad.net/%7Ebzr/bzr/hpss/
Andrew Bennetts
andrew.bennetts at canonical.com
Fri Apr 13 07:54:12 BST 2007
At sftp://bazaar.launchpad.net/%7Ebzr/bzr/hpss/
------------------------------------------------------------
revno: 2217
revision-id: andrew.bennetts at canonical.com-20070413065307-qg7gt1yx57cauni5
parent: andrew.bennetts at canonical.com-20070413062359-kiqjbhb06b3j2fj1
committer: Andrew Bennetts <andrew.bennetts at canonical.com>
branch nick: hpss
timestamp: Fri 2007-04-13 16:53:07 +1000
message:
Tidy imports in HTTPTestUtil.py
modified:
bzrlib/tests/HTTPTestUtil.py HTTPTestUtil.py-20050914180604-247d3aafb7a43343
=== modified file 'bzrlib/tests/HTTPTestUtil.py'
--- a/bzrlib/tests/HTTPTestUtil.py 2007-04-10 15:54:15 +0000
+++ b/bzrlib/tests/HTTPTestUtil.py 2007-04-13 06:53:07 +0000
@@ -21,8 +21,7 @@
import socket
import urlparse
-from bzrlib import smart
-import bzrlib.smart.request
+from bzrlib.smart import protocol
from bzrlib.tests import TestCaseWithTransport
from bzrlib.tests.HttpServer import (
HttpServer,
@@ -31,7 +30,6 @@
from bzrlib.transport import (
get_transport,
)
-from bzrlib.smart import protocol
class WallRequestHandler(TestingHTTPRequestHandler):
@@ -132,7 +130,7 @@
# we have to stop early due to error, but we would also have to use the
# HTTP trailer facility which may not be widely available.
out_buffer = StringIO()
- smart_protocol_request = smart.protocol.SmartServerRequestProtocolOne(
+ smart_protocol_request = protocol.SmartServerRequestProtocolOne(
transport, out_buffer.write)
# if this fails, we should return 400 bad request, but failure is
# failure for now - RBC 20060919
More information about the bazaar-commits
mailing list