diff -urpN hellanzb-0.13.orig/Hellanzb/HellaReactor.py hellanzb-0.13/Hellanzb/HellaReactor.py
|
|
reactor system so it can catch signals, |
9 | 9 | import Hellanzb, sys, time |
10 | 10 | |
11 | 11 | import twisted.copyright |
12 | | if twisted.copyright.version >= '2.0.0': |
| 12 | if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0': |
13 | 13 | from twisted.internet.selectreactor import SelectReactor |
14 | 14 | from twisted.internet.selectreactor import _NO_FILENO |
15 | 15 | from twisted.internet.selectreactor import _NO_FILEDESC |
diff -urpN hellanzb-0.13.orig/Hellanzb/HellaXMLRPC/HtPasswdAuth.py hellanzb-0.13/Hellanzb/HellaXMLRPC/HtPasswdAuth.py
|
|
from twisted.web import static |
13 | 13 | from twisted.web.resource import Resource |
14 | 14 | |
15 | 15 | import twisted.copyright |
16 | | if twisted.copyright.version >= '2.0.0': |
| 16 | if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0': |
17 | 17 | from twisted.web import http |
18 | 18 | else: |
19 | 19 | from twisted.protocols import http |
diff -urpN hellanzb-0.13.orig/Hellanzb/HellaXMLRPC/xmlrpc.py hellanzb-0.13/Hellanzb/HellaXMLRPC/xmlrpc.py
|
|
from twisted.internet import defer, prot |
31 | 31 | from twisted.python import log, reflect |
32 | 32 | |
33 | 33 | import twisted.copyright |
34 | | if twisted.copyright.version >= '2.0.0': |
| 34 | if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0': |
35 | 35 | from twisted.web import http |
36 | 36 | else: |
37 | 37 | from twisted.protocols import http |