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