diff options
Diffstat (limited to 'SCons/Scanner/Python.py')
-rw-r--r-- | SCons/Scanner/Python.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Scanner/Python.py b/SCons/Scanner/Python.py index ba2fd5a..e20d782 100644 --- a/SCons/Scanner/Python.py +++ b/SCons/Scanner/Python.py @@ -38,7 +38,7 @@ import re import SCons.Node.FS import SCons.Util -from . import Base +from . import ScannerBase # Capture python "from a import b" and "import a" statements. from_cre = re.compile(r'^\s*from\s+([^\s]+)\s+import\s+(.*)', re.M) @@ -201,7 +201,7 @@ def scan(node, env, path=()): PythonSuffixes = ['.py'] -PythonScanner = Base( +PythonScanner = ScannerBase( scan, name='PythonScanner', skeys=PythonSuffixes, |