diff -r 4a3b264589dc -r 8eb7883b4223 server/sources/__init__.py --- a/server/sources/__init__.py Thu Oct 21 18:38:36 2010 +0200 +++ b/server/sources/__init__.py Fri Oct 22 09:15:35 2010 +0200 @@ -55,7 +55,7 @@ def __init__(self, ttl): # time to live in seconds if ttl <= 0: - raise ValueError('TimedCache initialized with a ttl of %ss' % self.ttl.seconds) + raise ValueError('TimedCache initialized with a ttl of %ss' % ttl.seconds) self.ttl = timedelta(seconds=ttl) def __setitem__(self, key, value):