##// END OF EJS Templates
Merge pull request #7060 from takluyver/i7054...
Min RK -
r19106:7e05062e merge
parent child Browse files
Show More
@@ -13,6 +13,7 Inheritance diagram:
13 import abc
13 import abc
14 import inspect
14 import inspect
15 import sys
15 import sys
16 import traceback
16 import types
17 import types
17 import warnings
18 import warnings
18
19
@@ -229,7 +230,7 def warn_format_error(method, self, *args, **kwargs):
229 """decorator for warning on failed format call"""
230 """decorator for warning on failed format call"""
230 try:
231 try:
231 r = method(self, *args, **kwargs)
232 r = method(self, *args, **kwargs)
232 except NotImplementedError as e:
233 except NotImplementedError:
233 # don't warn on NotImplementedErrors
234 # don't warn on NotImplementedErrors
234 return None
235 return None
235 except Exception:
236 except Exception:
General Comments 0
You need to be logged in to leave comments. Login now