Commit 32cbc961 authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent 124a4e58
......@@ -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():
......
......@@ -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:
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment