Move to python3 style raise.

This commit is contained in:
Ahmed Charles 2015-10-18 22:24:25 +00:00 committed by Griatch
parent 0384fcc63d
commit 418ca41803

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()