summaryrefslogtreecommitdiffstats
path: root/module/Scheduler.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/Scheduler.py')
-rw-r--r--module/Scheduler.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/Scheduler.py b/module/Scheduler.py
index cdc4c8360..71b5f96af 100644
--- a/module/Scheduler.py
+++ b/module/Scheduler.py
@@ -26,7 +26,7 @@ class AlreadyCalled(Exception):
pass
-class Deferred():
+class Deferred:
def __init__(self):
self.call = []
self.result = ()
@@ -44,7 +44,7 @@ class Deferred():
f(*args ** kwargs)
-class Scheduler():
+class Scheduler:
def __init__(self, core):
self.core = core
@@ -88,7 +88,7 @@ class Scheduler():
break
-class Job():
+class Job:
def __init__(self, time, call, args=[], kwargs={}, deferred=None, threaded=True):
self.time = float(time)
self.call = call
@@ -111,7 +111,7 @@ class Job():
self.run()
-class PriorityQueue():
+class PriorityQueue:
""" a non blocking priority queue """
def __init__(self):