Run "futurize -1 -w -n ."

This commit is contained in:
Russell Jones 2015-10-01 20:00:28 +01:00
parent 7f11256fc8
commit 06c3dc0ed3
55 changed files with 281 additions and 244 deletions

View file

@ -5,4 +5,5 @@ or globally. They may also have a timer-component to execute various
timed effects.
"""
from scripts import DefaultScript
from __future__ import absolute_import
from .scripts import DefaultScript

View file

@ -62,7 +62,7 @@ class ExtendedLoopingCall(LoopingCall):
assert not self.running, ("Tried to start an already running "
"ExtendedLoopingCall.")
if interval < 0:
raise ValueError, "interval must be >= 0"
raise ValueError("interval must be >= 0")
self.running = True
d = self.deferred = Deferred()
self.starttime = self.clock.seconds()