From 7251e6f829b3a81ce281318d930c19429de71e81 Mon Sep 17 00:00:00 2001 From: Raul Cuza Date: Wed, 6 Jul 2011 15:52:15 -0400 Subject: Replace majorver with version_release. --- tools/export2.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/export2.py b/tools/export2.py index 770df5350..1beb9e628 100755 --- a/tools/export2.py +++ b/tools/export2.py @@ -129,7 +129,7 @@ E.G. 1.2.0pre1 is a valid version. -- %s <%s> %s - """ % (majorver, minorver, name, email, formatdate(localtime=True)) + """ % (version_release, minorver, name, email, formatdate(localtime=True)) # write out the new debian changelog @@ -150,11 +150,11 @@ E.G. 1.2.0pre1 is a valid version. # Update redhat directory versions if options.dryrun: - print "*** Replace redhat/VERIONS content with '%s'." % majorver + print "*** Replace redhat/VERIONS content with '%s'." % version_release print "*** Replace redhat/RELEASE content with '%s'." % minorver else: with open('redhat/VERSION', 'w') as f: - f.write("%s\n" % majorver) + f.write("%s\n" % version_release) f.close() with open('redhat/RELEASE', 'w') as f: f.write("0.0%s\n" % minorver) @@ -190,7 +190,7 @@ E.G. 1.2.0pre1 is a valid version. startswith=True, dryrun=options.dryrun) find_and_replace('doc/conf.py', 'release =', - 'release = \'%s\'\n' % (majorver), + 'release = \'%s\'\n' % (version_release), startswith=True, dryrun=options.dryrun) # update osx Makefile -- cgit v1.2.3-1-g7c22