summaryrefslogtreecommitdiffstats
path: root/module/database/DatabaseBackend.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/database/DatabaseBackend.py')
-rw-r--r--module/database/DatabaseBackend.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/database/DatabaseBackend.py b/module/database/DatabaseBackend.py
index a7e9c8849..6b2099736 100644
--- a/module/database/DatabaseBackend.py
+++ b/module/database/DatabaseBackend.py
@@ -34,7 +34,7 @@ except:
DB_VERSION = 4
-class style():
+class style:
db = None
@classmethod
@@ -65,7 +65,7 @@ class style():
return cls.db.async(f, *args, **kwargs)
return x
-class DatabaseJob():
+class DatabaseJob:
def __init__(self, f, *args, **kwargs):
self.done = Event()
@@ -309,7 +309,7 @@ if __name__ == "__main__":
db = DatabaseBackend()
db.setup()
- class Test():
+ class Test:
@style.queue
def insert(db):
c = db.createCursor()