git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd8d30
)
fix check_schedule
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 6 Oct 2013 00:02:41 +0000
(20:02 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 6 Oct 2013 00:02:41 +0000
(20:02 -0400)
planetstack/observer/event_loop.py
patch
|
blob
|
history
diff --git
a/planetstack/observer/event_loop.py
b/planetstack/observer/event_loop.py
index
482c5a8
..
f67e2eb
100644
(file)
--- a/
planetstack/observer/event_loop.py
+++ b/
planetstack/observer/event_loop.py
@@
-176,7
+176,7
@@
class PlanetStackObserver:
self.last_run_times[step.__name__]=time.time()
def check_schedule(self, step):
- time_since_last_run = time.time() - self.last_run_times
[step.__name__]
+ time_since_last_run = time.time() - self.last_run_times
.get(step.__name__, 0)
try:
if (time_since_last_run < step.requested_interval):
raise StepNotReady