diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
commit | 88c643b6fec27eec436c8d138fee6346e92337d6 (patch) | |
tree | 82cd13b2f3cde1c9e5f79689ba4e6ba67694843f /packages/Python/lldbsuite/test/issue_verification/enable.py | |
parent | 94994d372d014ce4c8758b9605d63fae651bd8aa (diff) |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/issue_verification/enable.py')
-rwxr-xr-x | packages/Python/lldbsuite/test/issue_verification/enable.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/packages/Python/lldbsuite/test/issue_verification/enable.py b/packages/Python/lldbsuite/test/issue_verification/enable.py deleted file mode 100755 index eb19276de1f7..000000000000 --- a/packages/Python/lldbsuite/test/issue_verification/enable.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python -"""Renames *.py.park files to *.py.""" -import os -import sys - - -def main(): - """Drives the main script behavior.""" - script_dir = os.path.dirname(os.path.realpath(__file__)) - for filename in os.listdir(script_dir): - basename, extension = os.path.splitext(filename) - if basename.startswith("Test") and extension == '.park': - source_path = os.path.join(script_dir, filename) - dest_path = os.path.join(script_dir, basename) - sys.stdout.write("renaming {} to {}\n".format( - source_path, dest_path)) - os.rename(source_path, dest_path) - -if __name__ == "__main__": - main() |