PEP-8-ify r73389.

This commit is contained in:
R. David Murray 2009-07-15 14:16:54 +00:00
parent b49c70c7d3
commit 765b976a81
1 changed files with 2 additions and 1 deletions

View File

@ -821,7 +821,8 @@ class DocTestFinder:
# (see __patched_linecache_getlines).
file = inspect.getfile(obj)
if not file[0]+file[-2:] == '<]>': file = None
if file is None: source_lines = None
if file is None:
source_lines = None
else:
if module is not None:
# Supply the module globals in case the module was