mirror of
https://github.com/evennia/evennia.git
synced 2026-04-17 21:59:06 +02:00
Run "futurize -1 -w -n ."
This commit is contained in:
parent
7f11256fc8
commit
06c3dc0ed3
55 changed files with 281 additions and 244 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue