Mercurial > p > roundup > code
view roundup/version_check.py @ 5627:cb288d043079 maint-1.6
note doc fixes to CHANGES.txt
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 20 Feb 2019 19:43:32 -0500 |
| parents | 4566360871dc |
| children | 64b05e24dbd8 |
line wrap: on
line source
#!/usr/bin/env python # Roundup requires Python 2.7+ as mentioned in doc\installation.txt 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)
