diff options
author | William Blevins <wblevins@gmail.com> | 2015-06-30 05:12:48 (GMT) |
---|---|---|
committer | William Blevins <wblevins@gmail.com> | 2015-06-30 05:12:48 (GMT) |
commit | 829492d37c7b85e22c169e1171265abdf4841af6 (patch) | |
tree | 5296e3c6b6e617b8851bb2bb0770fc04597b4a72 /src/engine/SCons/Node | |
parent | e5ac090e378fd5cda31dd70f762ea2792eed7dc7 (diff) | |
download | SCons-829492d37c7b85e22c169e1171265abdf4841af6.zip SCons-829492d37c7b85e22c169e1171265abdf4841af6.tar.gz SCons-829492d37c7b85e22c169e1171265abdf4841af6.tar.bz2 |
Issue 2264: Added test for SCANNER_HINT support, plus bug fixes.
Diffstat (limited to 'src/engine/SCons/Node')
-rw-r--r-- | src/engine/SCons/Node/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py index 64a513b..d709f11 100644 --- a/src/engine/SCons/Node/__init__.py +++ b/src/engine/SCons/Node/__init__.py @@ -968,8 +968,8 @@ class Node(object): if scanner: # Ensure scanner hint returned a valid Scanner object - if not instanceof( scanner, SCons.Scanner.Base ): - raise SCons.Error.UserError( + if not isinstance( scanner, SCons.Scanner.Base ): + raise SCons.Errors.UserError( 'SCANNER_HINT object must be instance of ' + str(SCons.Scanner.Base) ) else: |