diff options
author | iaz1607 <iaz1607@yandex-team.com> | 2023-11-30 12:16:39 +0300 |
---|---|---|
committer | iaz1607 <iaz1607@yandex-team.com> | 2023-11-30 12:56:46 +0300 |
commit | 8951ddf780e02616cdb2ec54a02bc354e8507c0f (patch) | |
tree | 478097488957d3b554e25868c972a959bb40d78e /build/scripts/symlink.py | |
parent | a5acb7aa4ca5a4603215e878eb0cad786793262b (diff) | |
download | ydb-8951ddf780e02616cdb2ec54a02bc354e8507c0f.tar.gz |
`build/scripts` ya style --py
Diffstat (limited to 'build/scripts/symlink.py')
-rwxr-xr-x | build/scripts/symlink.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/scripts/symlink.py b/build/scripts/symlink.py index 9e30a25065..9636bf3929 100755 --- a/build/scripts/symlink.py +++ b/build/scripts/symlink.py @@ -8,7 +8,7 @@ from subprocess import call def symlink(): if len(sys.argv) < 3: - print >>sys.stderr, "Usage: symlink.py <source> <target>" + print >> sys.stderr, "Usage: symlink.py <source> <target>" sys.exit(1) source = sys.argv[1] @@ -25,5 +25,6 @@ def symlink(): else: call(["ln", "-f", "-s", "-n", source, target]) + if __name__ == '__main__': symlink() |