Mercurial > p > roundup > code
view roundup/version_check.py @ 5039:bdeda09a5a26
Start new changelog for 1.6.0
Time to start an new changelog for 1.6.0 now that 1.5.1 has been
released.
| author | John Kristensen <john@jerrykan.com> |
|---|---|
| date | Tue, 12 Jan 2016 23:42:36 +1100 |
| 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)
