diff options
Diffstat (limited to 'SCons/Scanner/FortranTests.py')
-rw-r--r-- | SCons/Scanner/FortranTests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SCons/Scanner/FortranTests.py b/SCons/Scanner/FortranTests.py index 487fb7b..729e91a 100644 --- a/SCons/Scanner/FortranTests.py +++ b/SCons/Scanner/FortranTests.py @@ -214,7 +214,7 @@ class DummyEnvironment: else: raise KeyError("Dummy environment only has FORTRANPATH attribute.") - def has_key(self, key): + def __contains__(self, key): return key in self.Dictionary() def __getitem__(self, key): |