Mercurial > p > roundup > code
view roundup/version_check.py @ 5251:35b30ce991d0
Suppress the "... - nothing changed" status banner presented when a
form is submitted. This is triggered only when only quiet properties
are changed.
See:
https://sourceforge.net/p/roundup/mailman/roundup-users/thread/20170421012107.E040180690%40vm71.cs.umb.edu/
with subject:
[Roundup-users] Does anybody think feedback saying "nothing changed" is useful?
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 10 Aug 2017 22:35:05 -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)
