Skip to content
Snippets Groups Projects
Commit 6e8f7065 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

AthenaPython: Fix bug introduced with !27556

parent 863a39e6
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,8 @@ class _PyAthenaBindingsCatalog(object):
_msg = _PyAthenaBindingsCatalog.msg
_msg.error("Problem registering callback for [%s]", klass)
_msg.error("Exception: %s", err)
_PyAthenaBindingsCatalog.instances[klass] = lambda : None
cb = lambda : None # noqa: E731
_PyAthenaBindingsCatalog.instances[klass] = cb
return
@staticmethod
......
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