Skip to content
Snippets Groups Projects
Commit 2efba3af authored by Jan Rinze Peterzon's avatar Jan Rinze Peterzon
Browse files

Task #8571: 'not is' -> '!=' in RPC.py

parent a81567cc
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ class RPC():
if self.ForwardExceptions is True:
excep_mod = __import__("exceptions")
excep_class_ = getattr(excep_mod, answer.errmsg.split(':')[0], None)
if excep_class_ not is None:
if (excep_class_ != None):
instance = excep_class_(answer.backtrace)
raise (instance)
else:
......
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