Mercurial > p > roundup > code
view roundup/dist/command/install_lib.py @ 5211:f4b6a2a3e605
Fix expiration dates and expire csrf tokens properly
In client.py: add explicit expiration of csrf tokens to
handle_csrf. There is a clean_up() that runs on every client
connection before handle)csrf is invoked, but it only cleans every
hour. With short lived tokens this is insufficient. Also remove
debugging.
In templating.py fix values for seconds/week and minutes per week. The
original values were shifted/transposed and an order of magnitude off.
In test_templating.py again fix seconds/week constant.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 19 Mar 2017 17:10:13 -0400 |
| parents | 85dfe17c182e |
| children | 42bf0a707763 |
line wrap: on
line source
from roundup.dist.command.build import build_message_files, check_manifest from distutils.command.install_lib import install_lib as base class install_lib(base): def run(self): check_manifest() build_message_files(self) base.run(self)
