File python-scgi-newstyle-classes.patch of Package python-scgi

Index: scgi-1.14/scgi/scgi_server.py
===================================================================
--- scgi-1.14.orig/scgi/scgi_server.py
+++ scgi-1.14/scgi/scgi_server.py
@@ -61,7 +61,7 @@ class Child:
         self.closed = 1
 
 
-class SCGIHandler:
+class SCGIHandler(object):
 
     # Subclasses should override the handle_connection method.
 
@@ -172,7 +172,7 @@ class SCGIHandler:
             print "%s: %r" % (k, v)
 
 
-class SCGIServer:
+class SCGIServer(object):
 
     DEFAULT_PORT = 4000
 
openSUSE Build Service is sponsored by