Fix Container's __pretty_str__ to use str instead of repr. This provides more consistent output across platforms for integers. Patch by Jessica McKellar
diff --git a/elftools/construct/lib/container.py b/elftools/construct/lib/container.py
index 326ee57..eb4b738 100644
--- a/elftools/construct/lib/container.py
+++ b/elftools/construct/lib/container.py
@@ -73,7 +73,7 @@
if hasattr(v, "__pretty_str__"):
text.append(v.__pretty_str__(nesting + 1, indentation))
else:
- text.append(repr(v))
+ text.append(str(v))
attrs.append("".join(text))
if not attrs:
return "%s()" % (self.__class__.__name__,)