Skip to content

Commit

Permalink
allow TypeError for unpickled function
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed May 10, 2017
1 parent 8224976 commit 1a74ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/model_reporter/xhtml.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def _get_item(self, key, html_processor=True):
pass
try:
candidate = self._model._user_defined_xhtml[key.casefold()]
except (AttributeError, KeyError):
except (AttributeError, KeyError, TypeError):
pass
if candidate is None:
#raise TypeError("xml builder for '{}' not found".format(key.casefold()))
Expand Down

0 comments on commit 1a74ed2

Please sign in to comment.