aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/xargs.py
diff options
context:
space:
mode:
authorDmitry Kopylov <kopylovd@gmail.com>2022-02-10 16:48:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:18 +0300
commit7230275728d34873cba1ba78bb68669b0c5faa31 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /build/scripts/xargs.py
parentb2f5101486cc0de2e979c8ba9ada2109785bf5fd (diff)
downloadydb-7230275728d34873cba1ba78bb68669b0c5faa31.tar.gz
Restoring authorship annotation for Dmitry Kopylov <kopylovd@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/xargs.py')
-rw-r--r--build/scripts/xargs.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/build/scripts/xargs.py b/build/scripts/xargs.py
index 8a6e93e027..5d68929ecc 100644
--- a/build/scripts/xargs.py
+++ b/build/scripts/xargs.py
@@ -2,17 +2,17 @@ import sys
import os
import subprocess
-if __name__ == '__main__':
- pos = sys.argv.index('--')
- fname = sys.argv[pos + 1]
- cmd = sys.argv[pos + 2:]
+if __name__ == '__main__':
+ pos = sys.argv.index('--')
+ fname = sys.argv[pos + 1]
+ cmd = sys.argv[pos + 2:]
- with open(fname, 'r') as f:
- args = [x.strip() for x in f]
+ with open(fname, 'r') as f:
+ args = [x.strip() for x in f]
- os.remove(fname)
+ os.remove(fname)
- p = subprocess.Popen(cmd + args, shell=False, stderr=sys.stderr, stdout=sys.stdout)
- p.communicate()
+ p = subprocess.Popen(cmd + args, shell=False, stderr=sys.stderr, stdout=sys.stdout)
+ p.communicate()
- sys.exit(p.returncode)
+ sys.exit(p.returncode)