##// END OF EJS Templates
automation: capture additional exception when formatting...
Gregory Szorc -
r43487:6a350194 default
parent child Browse files
Show More
@@ -55,7 +55,7 b' def format_object(o):'
55
55
56 try:
56 try:
57 o = str(o)
57 o = str(o)
58 except TypeError:
58 except (AttributeError, TypeError):
59 o = pprint.pformat(o.extended_properties)
59 o = pprint.pformat(o.extended_properties)
60
60
61 return o
61 return o
General Comments 0
You need to be logged in to leave comments. Login now