python: Use new-style classes in ashd.wsgidir.
authorFredrik Tolf <fredrik@dolda2000.com>
Thu, 14 Apr 2011 09:30:50 +0000 (11:30 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Thu, 14 Apr 2011 09:30:50 +0000 (11:30 +0200)
python/ashd/wsgidir.py

index 5ce7638..83d96a0 100644 (file)
@@ -1,7 +1,7 @@
 import os, threading, types
 import wsgiutil
 
 import os, threading, types
 import wsgiutil
 
-class cachedmod:
+class cachedmod(object):
     def __init__(self, mod, mtime):
         self.lock = threading.Lock()
         self.mod = mod
     def __init__(self, mod, mtime):
         self.lock = threading.Lock()
         self.mod = mod