[arch-commits] Commit in deluge/trunk (0001-Fix-twisted-13.1-compat.patch)

Jan Steffens heftig at nymeria.archlinux.org
Sun Aug 25 07:58:53 UTC 2013


    Date: Sunday, August 25, 2013 @ 09:58:53
  Author: heftig
Revision: 193600

actually add the patch

Added:
  deluge/trunk/0001-Fix-twisted-13.1-compat.patch

------------------------------------+
 0001-Fix-twisted-13.1-compat.patch |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Added: 0001-Fix-twisted-13.1-compat.patch
===================================================================
--- 0001-Fix-twisted-13.1-compat.patch	                        (rev 0)
+++ 0001-Fix-twisted-13.1-compat.patch	2013-08-25 07:58:53 UTC (rev 193600)
@@ -0,0 +1,18 @@
+diff -u -r deluge-06ee112/deluge/httpdownloader.py deluge-06ee112.twisted/deluge/httpdownloader.py
+--- deluge-06ee112/deluge/httpdownloader.py	2013-08-07 03:52:59.000000000 +0200
++++ deluge-06ee112.twisted/deluge/httpdownloader.py	2013-08-25 09:44:55.895379041 +0200
+@@ -196,12 +196,12 @@
+     if hasattr(client, '_parse'):
+         scheme, host, port, path = client._parse(url)
+     else:
+-        from twisted.web import _URI
++        from twisted.web.client import _URI
+         uri = _URI.fromBytes(url)
+         scheme = uri.scheme
+         host = uri.host
+         port = uri.port
+-        path = uri.originFrom
++        path = uri.path
+         
+     factory = HTTPDownloader(url, filename, callback, headers, force_filename, allow_compression)
+     if scheme == "https":




More information about the arch-commits mailing list