From abd97ea856425453491ba2e486b2d657dfa8bc49 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 10 Nov 1999 17:47:48 +0000 Subject: Hack Mailman/Version.py when changing the version number. --- admin/bin/Release.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/bin/Release.py b/admin/bin/Release.py index a78729211..574621248 100755 --- a/admin/bin/Release.py +++ b/admin/bin/Release.py @@ -120,9 +120,9 @@ def do_bump(newvers): fp.write(text) fp.close() # hack the configure.in file - print 'Defaults.py.in...', - fp_in = open('Mailman/Defaults.py.in') - fp_out = open('Mailman/Defaults.py.in.new', 'w') + print 'Version.py...', + fp_in = open('Mailman/Version.py') + fp_out = open('Mailman/Version.py.new', 'w') matched = 0 cre = re.compile(r'^VERSION(?P[ \t]*)=') while 1: @@ -139,7 +139,7 @@ def do_bump(newvers): matched = 1 fp_in.close() fp_out.close() - os.rename('Mailman/Defaults.py.in.new', 'Mailman/Defaults.py.in') + os.rename('Mailman/Version.py.new', 'Mailman/Version.py') # update the TODO file print 'TODO...' os.system('admin/bin/mm2do') -- cgit v1.2.3-70-g09d2