Mercurial > p > roundup > code
view roundup/version_check.py @ 5287:07617c8d4efc
applying upgrade of 1.5.1 -> 1.6.0.
Upgraded login form.
Added @csrf tokens to forms using post.
Fix security issue by displaying username without escaping html
entities.
User queries hrefs have their names url quoted which makes multi word
queries a valid url.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 24 Sep 2017 19:19:28 -0400 |
| parents | 0c2cad65ebba |
| children | 4566360871dc |
line wrap: on
line source
#!/usr/bin/env python # Roundup requires Python 2.5+ as mentioned in doc\installation.txt VERSION_NEEDED = (2,5) 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)
