summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-04-11 01:44:26 +0000
committerTim Peters <tim.peters@gmail.com>2006-04-11 01:44:26 +0000
commit413c9226d27a09526b0edbe58317426ea1df83a3 (patch)
treef056dfbf91088a815789fa8d66721d8672446805
parent3a5e8b1e365b1b47c61ef2b3d2f45f56fd4f2711 (diff)
downloadcpython-git-413c9226d27a09526b0edbe58317426ea1df83a3.tar.gz
Whitespace normalization.
-rw-r--r--Lib/linecache.py4
-rw-r--r--Lib/test/test_zipimport.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/linecache.py b/Lib/linecache.py
index 696e189047..8da1b02924 100644
--- a/Lib/linecache.py
+++ b/Lib/linecache.py
@@ -81,7 +81,7 @@ def updatecache(filename, module_globals=None):
except os.error, msg:
basename = os.path.split(filename)[1]
- # Try for a __loader__, if available
+ # Try for a __loader__, if available
if module_globals and '__loader__' in module_globals:
name = module_globals.get('__name__')
loader = module_globals['__loader__']
@@ -95,7 +95,7 @@ def updatecache(filename, module_globals=None):
pass
else:
cache[filename] = (
- len(data), None,
+ len(data), None,
[line+'\n' for line in data.splitlines()], fullname
)
return cache[filename][2]
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py
index 0d46f0b3dd..4e1a845aa4 100644
--- a/Lib/test/test_zipimport.py
+++ b/Lib/test/test_zipimport.py
@@ -269,7 +269,7 @@ class UncompressedZipImportTestCase(ImportHooksBaseTestCase):
def testGetCompiledSource(self):
pyc = make_pyc(compile(test_src, "<???>", "exec"), NOW)
- files = {TESTMOD + ".py": (NOW, test_src),
+ files = {TESTMOD + ".py": (NOW, test_src),
TESTMOD + pyc_ext: (NOW, pyc)}
self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
@@ -310,7 +310,7 @@ class UncompressedZipImportTestCase(ImportHooksBaseTestCase):
module.do_raise()
except:
tb = sys.exc_info()[2].tb_next
-
+
f,lno,n,line = extract_tb(tb, 1)[0]
self.assertEqual(line, raise_src.strip())