##// END OF EJS Templates
Backport PR #5818: interpret any exception in getcallargs as not callable...
MinRK -
Show More
@@ -76,7 +76,7 b' def _valid_formatter(f):'
76 76 # anything that works with zero args should be okay
77 77 try:
78 78 inspect.getcallargs(f)
79 except TypeError:
79 except Exception:
80 80 return False
81 81 else:
82 82 return True
General Comments 0
You need to be logged in to leave comments. Login now