[Python-checkins] cpython (2.7): normalize whitespace from prior issue19081 fix commit.

gregory.p.smith python-checkins at python.org
Mon Jan 6 18:51:47 CET 2014


http://hg.python.org/cpython/rev/cbeb22969da1
changeset:   88324:cbeb22969da1
branch:      2.7
user:        Gregory P. Smith <greg at krypto.org>
date:        Mon Jan 06 09:51:32 2014 -0800
summary:
  normalize whitespace from prior issue19081 fix commit.

files:
  Lib/test/test_zipimport.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py
--- a/Lib/test/test_zipimport.py
+++ b/Lib/test/test_zipimport.py
@@ -70,11 +70,11 @@
     if data_to_prepend:
         # Prepend data to the start of the zipfile
         with open(zipname, "rb") as f:
-          zip_data = f.read()
+            zip_data = f.read()
 
         with open(zipname, "wb") as f:
-          f.write(data_to_prepend)
-          f.write(zip_data)
+            f.write(data_to_prepend)
+            f.write(zip_data)
 
 
 class UncompressedZipImportTestCase(ImportHooksBaseTestCase):

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


More information about the Python-checkins mailing list