Kaydet (Commit) e614fb12 authored tarafından Guido van Rossum's avatar Guido van Rossum

Changed runs of 8 spaces to tab -- to satisfy the tab nanny.

üst 068ad973
...@@ -44,12 +44,12 @@ from os import unlink ...@@ -44,12 +44,12 @@ from os import unlink
def findfile(file, here=__file__): def findfile(file, here=__file__):
import os import os
if os.path.isabs(file): if os.path.isabs(file):
return file return file
import sys import sys
path = sys.path path = sys.path
path = [os.path.dirname(here)] + path path = [os.path.dirname(here)] + path
for dn in path: for dn in path:
fn = os.path.join(dn, file) fn = os.path.join(dn, file)
if os.path.exists(fn): return fn if os.path.exists(fn): return fn
return file return file
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