From: stevenknight Date: Wed, 20 Feb 2002 17:15:20 +0000 (+0000) Subject: Remove left-over dir argument from get_contents() calls. (Anthony Roach) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=80fe97836b87352331aecd1ab6604f0c3c7561dd;p=scons.git Remove left-over dir argument from get_contents() calls. (Anthony Roach) git-svn-id: http://scons.tigris.org/svn/scons/trunk@269 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Node/NodeTests.py b/src/engine/SCons/Node/NodeTests.py index b999b52a..54f06e68 100644 --- a/src/engine/SCons/Node/NodeTests.py +++ b/src/engine/SCons/Node/NodeTests.py @@ -44,7 +44,7 @@ class Builder: built_target = kw['target'] built_source = kw['source'] return 0 - def get_contents(self, env, dir): + def get_contents(self, env): return 7 class NoneBuilder(Builder): diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py index c0de58e1..918543dd 100644 --- a/src/engine/SCons/Node/__init__.py +++ b/src/engine/SCons/Node/__init__.py @@ -140,7 +140,7 @@ class Node: dir = self.node.getcwd() except AttributeError: dir = None - return self.node.builder.get_contents(env = env, dir = dir) + return self.node.builder.get_contents(env = env) return Adapter(self) def scanner_set(self, scanner):