[Python-checkins] release: Remove "next_text", which is confusing and unneeded.

georg.brandl python-checkins at python.org
Tue May 1 09:34:27 CEST 2012


http://hg.python.org/release/rev/a40c9afb6da4
changeset:   59:a40c9afb6da4
user:        Georg Brandl <georg at python.org>
date:        Tue May 01 09:34:58 2012 +0200
summary:
  Remove "next_text", which is confusing and unneeded.

files:
  release.py |  3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/release.py b/release.py
--- a/release.py
+++ b/release.py
@@ -155,7 +155,7 @@
 
     print('Updating Lib/idlelib/idlever.py...', end=' ')
     with open('Lib/idlelib/idlever.py', 'w', encoding="ascii") as fp:
-        new = 'IDLE_VERSION = "%s"\n' % tag.next_text
+        new = 'IDLE_VERSION = "%s"\n' % tag.text
         fp.write(new)
     print('done')
 
@@ -353,7 +353,6 @@
         self.text = "{}.{}.{}".format(self.major, self.minor, self.patch)
         if self.level != "f":
             self.text += self.level + str(self.serial)
-        self.next_text = tag_name
         self.basic_version = '%s.%s' % (self.major, self.minor)
 
     def __str__(self):

-- 
Repository URL: http://hg.python.org/release


More information about the Python-checkins mailing list