2005-04-11 | paulb | raw files shortlog changelog graph | [project @ 2005-04-11 17:53:52 by paulb] Added a missing conversion to string. Note that a bizarre warning appears from nowhere with this code: "DeprecationWarning: IPv4Address.__getitem__ is deprecated. Use attributes instead." | |
WebStack/Twisted.py (file) |
1.1 --- a/WebStack/Twisted.py Mon Apr 11 17:43:21 2005 +0000 1.2 +++ b/WebStack/Twisted.py Mon Apr 11 17:53:52 2005 +0000 1.3 @@ -54,7 +54,7 @@ 1.4 1.5 "Returns the server port as a string." 1.6 1.7 - return self.trans.getHost()[2] 1.8 + return str(self.trans.getHost()[2]) 1.9 1.10 # Request-related methods. 1.11