Skip to content

Commit fc2cc86

Browse files
author
Richard Jones
committed
Fixed version_check
1 parent c7c02db commit fc2cc86

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

roundup/version_check.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,20 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: version_check.py,v 1.1 2001-12-13 00:20:01 richard Exp $
19+
# $Id: version_check.py,v 1.2 2001-12-14 21:34:06 richard Exp $
2020

2121
import sys
22-
if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1,1):
22+
if not hasattr(sys, 'version_info') or sys.version_info[:3] < (2,1,1):
2323
print "Content-Type: text/plain\n"
2424
print "Roundup requires Python 2.1.1 or newer."
2525
sys.exit(0)
2626

2727
#
2828
# $Log: not supported by cvs2svn $
29+
# Revision 1.1 2001/12/13 00:20:01 richard
30+
# . Centralised the python version check code, bumped version to 2.1.1 (really
31+
# needs to be 2.1.2, but that isn't released yet :)
32+
#
2933
#
3034
#
3135
# vim: set filetype=python ts=4 sw=4 et si

0 commit comments

Comments
 (0)