From 8d1baecf2123cc5f100e5b819d94badbefc1df08 Mon Sep 17 00:00:00 2001 From: Raul Cuza Date: Wed, 6 Jul 2011 16:08:50 -0400 Subject: Replace minorver with dictionary call. --- tools/export2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/export2.py b/tools/export2.py index e487b52e3..be78ff6e6 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 - """ % (version_release, minorver, name, email, formatdate(localtime=True)) + """ % (version_release, version_info['build'], name, email, formatdate(localtime=True)) # write out the new debian changelog @@ -151,13 +151,13 @@ E.G. 1.2.0pre1 is a valid version. # Update redhat directory versions if options.dryrun: print "*** Replace redhat/VERIONS content with '%s'." % version_release - print "*** Replace redhat/RELEASE content with '%s'." % minorver + print "*** Replace redhat/RELEASE content with '%s'." % version_info['build'] else: with open('redhat/VERSION', 'w') as f: f.write("%s\n" % version_release) f.close() with open('redhat/RELEASE', 'w') as f: - f.write("0.0%s\n" % minorver) + f.write("0.0%s\n" % version_info['build']) f.close() # update solaris version -- cgit v1.2.3-1-g7c22