Update ObjectSessionHandler to avoid a caching syncing issue; should resolve #1153.

This commit is contained in:
Griatch 2017-01-11 23:42:09 +01:00
parent 99c4042fbc
commit 19e8528b04
3 changed files with 20 additions and 4 deletions

View file

@ -419,7 +419,10 @@ class ServerSession(Session):
def __eq__(self, other):
"Handle session comparisons"
return self.address == other.address
try:
return self.address == other.address
except AttributeError:
return False
def __str__(self):
"""