projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af44ec6
)
Fix Container's __pretty_str__ to use str instead of repr. This provides more consist...
author
Eli Bendersky
<eliben@gmail.com>
Sat, 7 Jan 2012 18:44:43 +0000
(20:44 +0200)
committer
Eli Bendersky
<eliben@gmail.com>
Sat, 7 Jan 2012 18:44:43 +0000
(20:44 +0200)
elftools/construct/lib/container.py
patch
|
blob
|
history
diff --git
a/elftools/construct/lib/container.py
b/elftools/construct/lib/container.py
index 326ee57475d31fccfc6fa123f0780668420f7257..eb4b738f3a27f23854a399f89e40f7629ad4660d 100644
(file)
--- a/
elftools/construct/lib/container.py
+++ b/
elftools/construct/lib/container.py
@@
-73,7
+73,7
@@
class Container(object):
if hasattr(v, "__pretty_str__"):
text.append(v.__pretty_str__(nesting + 1, indentation))
else:
- text.append(
rep
r(v))
+ text.append(
st
r(v))
attrs.append("".join(text))
if not attrs:
return "%s()" % (self.__class__.__name__,)