The del_sessions() function of DulcineaSessionManager refers to
s.remote_address, s being the session object. The session object does
not have a member remote_address, instead get_remote_address() should be
called.
This patch should fix the problem:
--- persistent_session.py.old 2003-06-04 00:51:37.000000000 +0300
+++ persistent_session.py 2003-06-04 00:51:42.000000000 +0300
@@ -128,7 +128,7 @@
deleted = 0
now = time()
for s in list(self.sessions.values()):
- if ip is not None and ip != s.remote_address:
+ if ip is not None and ip != s.get_remote_address():
continue
if age is not None and s.get_access_age(_now=now) <
age*3600:
continue
Thanks for the wonderful tools quixote and dulcinea...
Burcin