Mercurial > p > roundup > code
view roundup/version_check.py @ 5973:fe334430ca07
issue2550919 - Anti-bot signup using 4 second delay
Took the code by erik forsberg and massaged it into the core.
So this is no longer needed in the tracker.
Updated devel and responsive trackers to remove timestamp.py and
update input field name.
Docs, changes and tests complete. Hopefully these tracker changes
won't cause an issue for other tests.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 09 Nov 2019 00:30:37 -0500 |
| parents | 64b05e24dbd8 |
| children | 9223ed67af05 |
line wrap: on
line source
#!/usr/bin/env python # Roundup requires Python 2.7+ as mentioned in doc\installation.txt from __future__ import print_function VERSION_NEEDED = (2,7) import sys if sys.version_info < VERSION_NEEDED: print("Content-Type: text/plain\n") print("Roundup requires Python %s.%s or newer." % VERSION_NEEDED) sys.exit(0)
