openbsd-ports/news/hellanzb/patches/patch-Hellanzb_HellaXMLRPC_xmlrpc_py
2010-08-23 07:02:06 +00:00

13 lines
560 B
Plaintext

$OpenBSD: patch-Hellanzb_HellaXMLRPC_xmlrpc_py,v 1.1 2010/08/23 07:02:06 giovanni Exp $
--- Hellanzb/HellaXMLRPC/xmlrpc.py.orig Fri Aug 13 17:15:52 2010
+++ Hellanzb/HellaXMLRPC/xmlrpc.py Fri Aug 13 17:16:49 2010
@@ -31,7 +31,7 @@ from twisted.internet import defer, protocol, reactor
from twisted.python import log, reflect
import twisted.copyright
-if twisted.copyright.version >= '2.0.0':
+if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
from twisted.web import http
else:
from twisted.protocols import http