Skip to content

Commit

Permalink
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lisa/conf.py
Original file line number Diff line number Diff line change
@@ -96,6 +96,13 @@ def _callback():
else:
return x

# Cheat on the name to have better DeferredValue.__str__ output
try:
_callback.__qualname__ = callback.__qualname__
# Not all callbacks have a __qualname__
except AttributeError:
pass

super().__init__(callback=_callback)


0 comments on commit 8df55b5

Please sign in to comment.