]> granicus.if.org Git - python/commitdiff
normalize whitespace from prior issue19081 fix commit.
authorGregory P. Smith <greg@krypto.org>
Mon, 6 Jan 2014 17:51:32 +0000 (09:51 -0800)
committerGregory P. Smith <greg@krypto.org>
Mon, 6 Jan 2014 17:51:32 +0000 (09:51 -0800)
Lib/test/test_zipimport.py

index 062e3d921a895f11d2dcd89ef6dbcc95b7ff6e03..e31e217d38881ce14509e3f8c7747378a085ce98 100644 (file)
@@ -70,11 +70,11 @@ def _write_zip_package(zipname, files,
     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):