mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 22:17:17 +02:00
Move to python3 style raise.
This commit is contained in:
parent
0384fcc63d
commit
418ca41803
1 changed files with 1 additions and 1 deletions
|
|
@ -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