]> granicus.if.org Git - python/commitdiff
Changed runs of 8 spaces to tab -- to satisfy the tab nanny.
authorGuido van Rossum <guido@python.org>
Tue, 9 Jun 1998 19:20:12 +0000 (19:20 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 9 Jun 1998 19:20:12 +0000 (19:20 +0000)
Lib/test/test_support.py

index 478c8455cb1304564b0fab8eb658499e84606454..3839c79be9cbbbf03c1de071b327fb03c253482b 100644 (file)
@@ -44,12 +44,12 @@ from os import unlink
 
 def findfile(file, here=__file__):
        import os
-        if os.path.isabs(file):
+       if os.path.isabs(file):
                return file
-        import sys
-        path = sys.path
+       import sys
+       path = sys.path
        path = [os.path.dirname(here)] + path
-        for dn in path:
-                fn = os.path.join(dn, file)
-                if os.path.exists(fn): return fn
-        return file
+       for dn in path:
+               fn = os.path.join(dn, file)
+               if os.path.exists(fn): return fn
+       return file