[Python-checkins] r76678 - sandbox/trunk/release/release.py

benjamin.peterson python-checkins at python.org
Sat Dec 5 19:46:43 CET 2009


Author: benjamin.peterson
Date: Sat Dec  5 19:46:43 2009
New Revision: 76678

Log:
inserting the current date is rather pointless

Modified:
   sandbox/trunk/release/release.py

Modified: sandbox/trunk/release/release.py
==============================================================================
--- sandbox/trunk/release/release.py	(original)
+++ sandbox/trunk/release/release.py	Sat Dec  5 19:46:43 2009
@@ -14,7 +14,6 @@
 import subprocess
 import shutil
 import tempfile
-import time
 
 from contextlib import contextmanager
 from string import Template
@@ -382,7 +381,7 @@
 What's New in Python {XXX PUT NEXT VERSION HERE XXX}?
 ================================
 
-*Release date: %s*
+*Release date: XXXX-XX-XX*
 
 Core and Builtins
 -----------------
@@ -402,11 +401,9 @@
         if line.startswith("What's"):
             end = i
             break
-    release_date = time.strftime("%d-%b-%Y")
-    insert = NEWS_TEMPLATE % release_date
     with open('Misc/NEWS', 'w', encoding="utf-8") as fp:
          fp.writelines(lines[:start+1])
-         fp.write(insert)
+         fp.write(NEWS_TEMPLATE)
          fp.writelines(lines[end-1:])
     print("Please fill in the the name of the next version.")
     manual_edit('Misc/NEWS')


More information about the Python-checkins mailing list