[Python-checkins] cpython (3.3): let this work with system Python 2.5

benjamin.peterson python-checkins at python.org
Fri Sep 27 15:11:55 CEST 2013


http://hg.python.org/cpython/rev/ac5343148fb3
changeset:   85807:ac5343148fb3
branch:      3.3
parent:      85805:b33f9b3a1675
user:        Benjamin Peterson <benjamin at python.org>
date:        Fri Sep 27 09:11:21 2013 -0400
summary:
  let this work with system Python 2.5

files:
  Tools/hg/hgtouch.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Tools/hg/hgtouch.py b/Tools/hg/hgtouch.py
--- a/Tools/hg/hgtouch.py
+++ b/Tools/hg/hgtouch.py
@@ -7,6 +7,7 @@
 
 In addition to the dependency syntax, #-comments are supported.
 """
+from __future__ import with_statement
 import errno
 import os
 

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


More information about the Python-checkins mailing list