diff options
| author | Bob Halley <halley@nominum.com> | 2012-04-07 21:12:23 +0100 |
|---|---|---|
| committer | Bob Halley <halley@nominum.com> | 2012-04-07 21:12:23 +0100 |
| commit | 8124127fe9f80339f6f6bcb2fe6fd751b307e3d9 (patch) | |
| tree | 2392c4519bb3006c22a06181129a2ce933135646 | |
| parent | 6e3b453cd159fbcd8a3449e6ffe6d5ea5d5afef8 (diff) | |
| download | dnspython-8124127fe9f80339f6f6bcb2fe6fd751b307e3d9.tar.gz | |
BytesIO not StringIO
| -rw-r--r-- | dns/dnssec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/dnssec.py b/dns/dnssec.py index 61a06d9..61f2410 100644 --- a/dns/dnssec.py +++ b/dns/dnssec.py @@ -89,7 +89,7 @@ def algorithm_to_text(value): return text def _to_rdata(record, origin): - s = io.StringIO() + s = io.BytesIO() record.to_wire(s, origin=origin) return s.getvalue() |
