summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-02-20 21:42:18 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-02-20 21:42:18 (GMT)
commit32cbc96150e4799d24ff04071f518e48b29f60a0 (patch)
treeceab895133fcdac0e2e4ac61fc4f4de15df2729b
parent124a4e58c497f6bfdb2e26465b8b3940393a3b29 (diff)
downloadcpython-32cbc96150e4799d24ff04071f518e48b29f60a0.zip
cpython-32cbc96150e4799d24ff04071f518e48b29f60a0.tar.gz
cpython-32cbc96150e4799d24ff04071f518e48b29f60a0.tar.bz2
Whitespace normalization.
-rw-r--r--Lib/bsddb/__init__.py2
-rw-r--r--Lib/distutils/msvccompiler.py6
-rw-r--r--Lib/test/test_zipfile.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/Lib/bsddb/__init__.py b/Lib/bsddb/__init__.py
index b7bd482..d3ee773 100644
--- a/Lib/bsddb/__init__.py
+++ b/Lib/bsddb/__init__.py
@@ -194,7 +194,7 @@ class _DBWithCursor(_iter_mixin):
try:
self.saved_dbc_key = c.current(0,0,0)[0]
except db.DBError:
- pass
+ pass
c.close()
del c
for cref in self._cursor_refs.values():
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py
index aefcf98..f88f365 100644
--- a/Lib/distutils/msvccompiler.py
+++ b/Lib/distutils/msvccompiler.py
@@ -184,7 +184,7 @@ def get_build_architecture():
return "Intel"
j = string.find(sys.version, ")", i)
return sys.version[i+len(prefix):j]
-
+
class MSVCCompiler (CCompiler) :
@@ -232,7 +232,7 @@ class MSVCCompiler (CCompiler) :
else:
# Win64. Assume this was built with the platform SDK
self.__product = "Microsoft SDK compiler %s" % (self.__version + 6)
-
+
self.initialized = False
def initialize(self):
@@ -281,7 +281,7 @@ class MSVCCompiler (CCompiler) :
self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GS-' ,
'/DNDEBUG']
self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GS-',
- '/Z7', '/D_DEBUG']
+ '/Z7', '/D_DEBUG']
self.ldflags_shared = ['/DLL', '/nologo', '/INCREMENTAL:NO']
if self.__version >= 7:
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
index 9fadc30..0241348 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -53,7 +53,7 @@ class TestsWithSourceFile(unittest.TestCase):
zipfp = zipfile.ZipFile(TESTFN2, "r", zipfile.ZIP_STORED)
self.assertEqual(zipfp.namelist(), ["absolute"])
zipfp.close()
-
+
def tearDown(self):
os.remove(TESTFN)