Skip to content

Commit 28bd9a6

Browse files
author
Anthony Baxter
committed
actually quit if python version wrong
1 parent 7f423e5 commit 28bd9a6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

roundup-server

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
44
Stolen from CGIHTTPServer
55
6-
$Id: roundup-server,v 1.1 2001-07-23 03:46:48 richard Exp $
6+
$Id: roundup-server,v 1.2 2001-07-23 04:05:05 anthonybaxter Exp $
77
88
"""
99
import sys
1010
if int(sys.version[0]) < 2:
1111
print "Content-Type: text/plain\n"
1212
print "Roundup requires Python 2.0 or newer."
13+
sys.exit(0)
1314

1415
__version__ = "0.1"
1516

@@ -219,6 +220,9 @@ if __name__ == '__main__':
219220

220221
#
221222
# $Log: not supported by cvs2svn $
223+
# Revision 1.1 2001/07/23 03:46:48 richard
224+
# moving the bin files to facilitate out-of-the-boxness
225+
#
222226
# Revision 1.1 2001/07/22 11:15:45 richard
223227
# More Grande Splite stuff
224228
#

0 commit comments

Comments
 (0)