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

13 lines
557 B
Plaintext

$OpenBSD: patch-Hellanzb_HellaXMLRPC_HtPasswdAuth_py,v 1.1 2010/08/23 07:02:06 giovanni Exp $
--- Hellanzb/HellaXMLRPC/HtPasswdAuth.py.orig Fri Aug 13 17:16:54 2010
+++ Hellanzb/HellaXMLRPC/HtPasswdAuth.py Fri Aug 13 17:17:06 2010
@@ -13,7 +13,7 @@ from twisted.web import static
from twisted.web.resource import Resource
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