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
Branches
Tags
No related merge requests found
......@@ -1105,7 +1105,7 @@ class WardenHandler(ObjectBase):
# If client was already here, fetch server notion of his last id
try:
id = self.db.getLastReceivedId(self.req.client)
except Exception, e:
except Exception as e:
self.log.info("cannot getLastReceivedId - " + type(e).__name__ + ": " + str(e))
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