diff options
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/pathfix.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Tools/scripts/pathfix.py b/Tools/scripts/pathfix.py index 237a3d9..d252321 100755 --- a/Tools/scripts/pathfix.py +++ b/Tools/scripts/pathfix.py @@ -89,11 +89,8 @@ def main(): sys.exit(bad) -ispythonprog = re.compile(r'^[a-zA-Z0-9_]+\.py$') - - def ispython(name): - return bool(ispythonprog.match(name)) + return name.endswith('.py') def recursedown(dirname): |