##// 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 # anything that works with zero args should be okay
76 # anything that works with zero args should be okay
77 try:
77 try:
78 inspect.getcallargs(f)
78 inspect.getcallargs(f)
79 except TypeError:
79 except Exception:
80 return False
80 return False
81 else:
81 else:
82 return True
82 return True
General Comments 0
You need to be logged in to leave comments. Login now