branch | stable |
changeset 4714 | fccda6dd91bf |
parent 4212 | ab6573088b4a |
child 5066 | bf5cbc351e99 |
--- a/server/utils.py Fri Feb 26 08:46:27 2010 +0100 +++ b/server/utils.py Fri Feb 26 09:54:03 2010 +0100 @@ -107,6 +107,9 @@ self.func = auto_restart_func self.name = func.__name__ + def __str__(self): + return '%s (%s seconds)' % (self.name, self.interval) + def start(self): self._t = Timer(self.interval, self.func) self._t.start()