Skip to content
Snippets Groups Projects
Commit 3f8a3cb7 authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-609: Fix Exception.message issue in mapi.py and mapi2.py

parent 7f78cb5b
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ class Connection(object):
h.update(password)
password = h.hexdigest()
except ValueError as e:
raise NotSupportedError(e.message)
raise NotSupportedError(str(e))
else:
raise NotSupportedError("We only speak protocol v9")
......
......@@ -187,7 +187,7 @@ class Server:
h.update(password)
password = h.hexdigest()
except ValueError as e:
raise NotSupportedError(e.message)
raise NotSupportedError(str(e))
elif protocol != "8":
raise NotSupportedError("We only speak protocol v8 and v9")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment