From 9e1147e9f703433ac1f19a8b2164bcc36f33159d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 6 Mar 2014 20:21:18 -0800 Subject: [PATCH] irkerd: Drop scheme replacement in Target.__init__ Now that we've dropped support for Python 2.5, we don't need this workaround anymore. --- irkerd | 2 -- 1 file changed, 2 deletions(-) diff --git a/irkerd b/irkerd index 3f64ef9..4bd43c5 100755 --- a/irkerd +++ b/irkerd @@ -612,8 +612,6 @@ class Target(): "Represent a transmission target." def __init__(self, url): self.url = url - # Pre-2.6 Pythons don't recognize irc: as a valid URL prefix. - url = url.replace("irc://", "http://") parsed = urlparse.urlparse(url) irchost, _, ircport = parsed.netloc.partition(':') if not ircport: -- 2.26.2