Mercurial > p > roundup > code
view roundup/version_check.py @ 5855:e34bfe90634f maint-1.6
Try reconfig to get mysql steps working.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 24 Aug 2019 21:17:55 -0400 |
| 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)
