]> www.dolda2000.com Git - ashd.git/commitdiff
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 5ce7638f11b3e029839f7ebcb80c6cd081c87c9c..83d96a01845d26a8e8e7a14bbfabbab779f9e5f6 100644 (file)
@@ -1,7 +1,7 @@
 import os, threading, types
 import wsgiutil
 
-class cachedmod:
+class cachedmod(object):
     def __init__(self, mod, mtime):
         self.lock = threading.Lock()
         self.mod = mod