Show More
@@ -13,6 +13,7 b' Inheritance diagram:' | |||
|
13 | 13 | import abc |
|
14 | 14 | import inspect |
|
15 | 15 | import sys |
|
16 | import traceback | |
|
16 | 17 | import types |
|
17 | 18 | import warnings |
|
18 | 19 | |
@@ -229,7 +230,7 b' def warn_format_error(method, self, *args, **kwargs):' | |||
|
229 | 230 | """decorator for warning on failed format call""" |
|
230 | 231 | try: |
|
231 | 232 | r = method(self, *args, **kwargs) |
|
232 |
except NotImplementedError |
|
|
233 | except NotImplementedError: | |
|
233 | 234 | # don't warn on NotImplementedErrors |
|
234 | 235 | return None |
|
235 | 236 | except Exception: |
General Comments 0
You need to be logged in to leave comments.
Login now