view roundup/version_check.py @ 5340:ed6153d3ee6a

Fix password reset Fix issue2550963: After refactoring one-time keys from the main database we need to commit the password change in the password reset mechanism separately. This used to be committed by the otk commit.
author Ralf Schlatterbeck <rsc@runtux.com>
date Wed, 27 Jun 2018 12:01:28 +0200
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)

Roundup Issue Tracker: http://roundup-tracker.org/