diff options
author | elie <elie> | 2011-10-29 09:30:50 +0000 |
---|---|---|
committer | elie <elie> | 2011-10-29 09:30:50 +0000 |
commit | 9afa6c4124ca9cc1f519e665f6c305454d967e58 (patch) | |
tree | d64210a91d98775ed082d975a71b7c4384d4cd73 | |
parent | 74caa143d649857bbc5c43a6f5522ff464c4b052 (diff) | |
download | pyasn1-9afa6c4124ca9cc1f519e665f6c305454d967e58.tar.gz |
fix to OctetString.prettyOut()
-rw-r--r-- | pyasn1/type/univ.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyasn1/type/univ.py b/pyasn1/type/univ.py index 46572cd..27872a7 100644 --- a/pyasn1/type/univ.py +++ b/pyasn1/type/univ.py @@ -346,7 +346,7 @@ class OctetString(base.AbstractSimpleAsn1Item): if [ x for x in self.asNumbers() if x < 32 or x > 126 ]: return '0x' + ''.join([ '%x' % x for x in self.asNumbers() ]) else: - return repr(value) + return str(value) def __repr__(self): if self._value is base.noValue: |