Mercurial > p > roundup > code
diff roundup-mailgw @ 449:141aacfdb34f
Centralised the python version check code, bumped version to 2.1.1
(really needs to be 2.1.2, but that isn't released yet :)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 13 Dec 2001 00:20:01 +0000 |
| parents | a28a80b714f9 |
| children | fad315a10185 |
line wrap: on
line diff
--- a/roundup-mailgw Wed Dec 12 23:55:00 2001 +0000 +++ b/roundup-mailgw Thu Dec 13 00:20:01 2001 +0000 @@ -16,12 +16,12 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup-mailgw,v 1.17 2001-12-02 05:06:16 richard Exp $ +# $Id: roundup-mailgw,v 1.18 2001-12-13 00:20:01 richard Exp $ + +# python version check +from roundup import version_check import sys, os, re, cStringIO -if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1): - print "Roundup requires Python 2.1 or newer." - sys.exit(1) from roundup.mailgw import Message @@ -168,6 +168,20 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.17 2001/12/02 05:06:16 richard +# . We now use weakrefs in the Classes to keep the database reference, so +# the close() method on the database is no longer needed. +# I bumped the minimum python requirement up to 2.1 accordingly. +# . #487480 ] roundup-server +# . #487476 ] INSTALL.txt +# +# I also cleaned up the change message / post-edit stuff in the cgi client. +# There's now a clearly marked "TODO: append the change note" where I believe +# the change note should be added there. The "changes" list will obviously +# have to be modified to be a dict of the changes, or somesuch. +# +# More testing needed. +# # Revision 1.16 2001/11/30 18:23:55 jhermann # Cleaned up strange import (less pollution, too) #
