Update alerts reported by LGTM

This commit is contained in:
Griatch 2017-09-23 16:46:30 +02:00
parent ce73bf1a93
commit b3c6e9d2cc
10 changed files with 42 additions and 10 deletions

View file

@ -433,6 +433,12 @@ class ServerSession(Session):
except AttributeError:
return False
def __ne__(self, other):
try:
return self.address != other.address
except AttributeError:
return True
def __str__(self):
"""
String representation of the user session class. We use