aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredfast00 <redfast00@gmail.com>2016-06-08 13:07:19 +0200
committerredfast00 <redfast00@gmail.com>2016-06-08 13:07:19 +0200
commit16d32b2ce58afa4576f9fc806f72189382eb352c (patch)
treeb0b5cc9f6ad12b3d78c4e9fd56b9690455bd8e13
parente93fe9d4fa37ec1aae60eee612be7a9cd989891c (diff)
downloadmitmproxy-16d32b2ce58afa4576f9fc806f72189382eb352c.tar.gz
mitmproxy-16d32b2ce58afa4576f9fc806f72189382eb352c.tar.bz2
mitmproxy-16d32b2ce58afa4576f9fc806f72189382eb352c.zip
fix after cleanup of netlib.utils in mitmproxy.console.statusbar
-rw-r--r--mitmproxy/console/statusbar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/console/statusbar.py b/mitmproxy/console/statusbar.py
index af8089b6..e576b565 100644
--- a/mitmproxy/console/statusbar.py
+++ b/mitmproxy/console/statusbar.py
@@ -4,7 +4,7 @@ import os.path
import urwid
-import netlib.utils
+import netlib.http.url
from mitmproxy.console import common
from mitmproxy.console import pathedit
from mitmproxy.console import signals
@@ -212,7 +212,7 @@ class StatusBar(urwid.WidgetWrap):
if self.master.server.config.mode in ["reverse", "upstream"]:
dst = self.master.server.config.upstream_server
- r.append("[dest:%s]" % netlib.utils.unparse(
+ r.append("[dest:%s]" % netlib.http.url.unparse(
dst.scheme,
dst.address.host,
dst.address.port