contrib/automation/hgautomation/winrm.py
changeset 43216 6a350194de7f
parent 43076 2372284d9457
--- a/contrib/automation/hgautomation/winrm.py	Sat Oct 12 11:36:26 2019 -0700
+++ b/contrib/automation/hgautomation/winrm.py	Sat Oct 12 12:41:53 2019 -0700
@@ -55,7 +55,7 @@
 
     try:
         o = str(o)
-    except TypeError:
+    except (AttributeError, TypeError):
         o = pprint.pformat(o.extended_properties)
 
     return o