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

benjamin.peterson python-checkins at python.org
Fri May 9 00:45:12 CEST 2008


Author: benjamin.peterson
Date: Fri May  9 00:45:11 2008
New Revision: 62908

Log:
Fix SyntaxError


Modified:
   sandbox/trunk/release/release.py

Modified: sandbox/trunk/release/release.py
==============================================================================
--- sandbox/trunk/release/release.py	(original)
+++ sandbox/trunk/release/release.py	Fri May  9 00:45:11 2008
@@ -81,7 +81,7 @@
     "Inserts in between --start constant-- and --end constant-- in a file"
     start_tag = comment_start + "--start constants--" + comment_end
     end_tag = comment_start + "--end constants--" + comment_end
-    with nested(open(fn), open(fn + '.new', 'w')) as infile, outfile:
+    with nested(open(fn), open(fn + '.new', 'w')) as (infile, outfile):
         found_constants = False
         waiting_for_end = False
         for line in infile:


More information about the Python-checkins mailing list