diff -r 7920f439f383 -r 57ffd0e0643d server/repository.py --- a/server/repository.py Fri Apr 12 11:39:10 2013 +0200 +++ b/server/repository.py Tue Apr 16 13:44:01 2013 +0200 @@ -985,7 +985,7 @@ self.debug('cleaning session unused since %s', strftime('%T', localtime(mintime))) nbclosed = 0 - for session in self._sessions.itervalues(): + for session in self._sessions.values(): if session.timestamp < mintime: self.close(session.id) nbclosed += 1