Mercurial > p > roundup > code
view tools/base64 @ 5213:bf13b28156f3
This change didn't make it into the last commit. Allow the user to
override the time column in the database by setting the __timestamp
item in the call to set.
This should make expiration of CSRF otk's work correctly for the rdbms
backend.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 19 Mar 2017 20:57:26 -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()))
