Mercurial > p > roundup > code
view tools/base64 @ 5238:758edaa61ec0
pylint flagged HeaderParseError as an Undefined variable.
Fully qualify the HeaderParseError as email.errors.HeaderParseError.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 15 Apr 2017 20:12:10 -0400 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
