Ticket #25807: patch-hellanzb_for_twisted-10.0.0.diff

File patch-hellanzb_for_twisted-10.0.0.diff, 1.8 KB (added by jon.hermansen@…, 14 years ago)
  • Hellanzb/HellaReactor.py

    diff -urpN hellanzb-0.13.orig/Hellanzb/HellaReactor.py hellanzb-0.13/Hellanzb/HellaReactor.py
    reactor system so it can catch signals,  
    99import Hellanzb, sys, time
    1010
    1111import twisted.copyright
    12 if twisted.copyright.version >= '2.0.0':
     12if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
    1313    from twisted.internet.selectreactor import SelectReactor
    1414    from twisted.internet.selectreactor import _NO_FILENO
    1515    from twisted.internet.selectreactor import _NO_FILEDESC
  • Hellanzb/HellaXMLRPC/HtPasswdAuth.py

    diff -urpN hellanzb-0.13.orig/Hellanzb/HellaXMLRPC/HtPasswdAuth.py hellanzb-0.13/Hellanzb/HellaXMLRPC/HtPasswdAuth.py
    from twisted.web import static 
    1313from twisted.web.resource import Resource
    1414
    1515import twisted.copyright
    16 if twisted.copyright.version >= '2.0.0':
     16if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
    1717    from twisted.web import http
    1818else:
    1919    from twisted.protocols import http
  • Hellanzb/HellaXMLRPC/xmlrpc.py

    diff -urpN hellanzb-0.13.orig/Hellanzb/HellaXMLRPC/xmlrpc.py hellanzb-0.13/Hellanzb/HellaXMLRPC/xmlrpc.py
    from twisted.internet import defer, prot 
    3131from twisted.python import log, reflect
    3232
    3333import twisted.copyright
    34 if twisted.copyright.version >= '2.0.0':
     34if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
    3535    from twisted.web import http
    3636else:
    3737    from twisted.protocols import http