summaryrefslogtreecommitdiff
path: root/devel/scons/files/patch-scanner-__init__.py
blob: 15302c0c0ba72115e7541a66c3e86cc3ef715aa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- engine/SCons/Scanner/__init__.py.orig	Wed Feb 16 03:12:10 2005
+++ engine/SCons/Scanner/__init__.py	Tue Mar  1 22:00:50 2005
@@ -338,9 +338,7 @@
     def find_include(self, include, source_dir, path):
         "__cacheable__"
         if callable(path): path = path()
-        n = SCons.Node.FS.find_file(include,
-                                    (source_dir,) + tuple(path),
-                                    SCons.Node.FS.File)
+        n = SCons.Node.FS.find_file(include, (source_dir,) + tuple(path))
         return n, include
 
     def sort_key(self, include):
@@ -398,9 +396,7 @@
         else:
             paths = Binder( tuple(path) + (source_dir,) )
 
-        n = SCons.Node.FS.find_file(include[1],
-                                    paths,
-                                    self.fs.File)
+        n = SCons.Node.FS.find_file(include[1], paths)
 
         return n, include[1]