api change: rename more methods and attributes (mostly internal)
diff --git a/serial/urlhandler/protocol_spy.py b/serial/urlhandler/protocol_spy.py
index f52b7fe..9a7c75c 100644
--- a/serial/urlhandler/protocol_spy.py
+++ b/serial/urlhandler/protocol_spy.py
@@ -158,9 +158,9 @@
@serial.Serial.port.setter
def port(self, value):
if value is not None:
- serial.Serial.port.__set__(self, self.fromURL(value))
+ serial.Serial.port.__set__(self, self.from_url(value))
- def fromURL(self, url):
+ def from_url(self, url):
"""extract host and port from an URL string"""
parts = urlparse.urlsplit(url)
if parts.scheme != 'spy':