Skip to content
Snippets Groups Projects
Commit 9b9fabc1 authored by Pavel Kácha's avatar Pavel Kácha
Browse files

Fixed obsolete except syntax (thx krkos@cesnet.cz)

parent 6e54e213
No related branches found
No related tags found
No related merge requests found
...@@ -1105,7 +1105,7 @@ class WardenHandler(ObjectBase): ...@@ -1105,7 +1105,7 @@ class WardenHandler(ObjectBase):
# If client was already here, fetch server notion of his last id # If client was already here, fetch server notion of his last id
try: try:
id = self.db.getLastReceivedId(self.req.client) id = self.db.getLastReceivedId(self.req.client)
except Exception, e: except Exception as e:
self.log.info("cannot getLastReceivedId - " + type(e).__name__ + ": " + str(e)) self.log.info("cannot getLastReceivedId - " + type(e).__name__ + ": " + str(e))
if id is None: if id is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment