view roundup/version_check.py @ 4846:3e36a3bc0335

issue2550822: Fix showing more than one additional property in class menu Report and patch provided by James Mack: | I had the following option in one of my templates: | tal:content="structure python:context.propname.menu(additional= | ['propname1', 'propname2'])" | | I expected this to display both propname1 and propname2 in the menu. It | only displayed propname2.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 13 Nov 2013 11:12:21 +0100
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)

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