Mercurial > p > roundup > code
view roundup/version_check.py @ 5070:04e48cfc91da
fix demo.py after database backend moved from db/backend to config.ini::[rdbms].backend. Note this will have to change if backend location moved to [main].backend (tomatch [main].db).
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 05 Jun 2016 20:58:01 -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)
