aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/build_pln_header.py
diff options
context:
space:
mode:
authorEvgeny Grechnikov <diamondaz@yandex.ru>2022-02-10 16:46:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:20 +0300
commit6e38f52f898d7c077ddd319800b4014967a5ca76 (patch)
treef0b2473cfc98506158b8f1d3d387c4f478ade18e /build/scripts/build_pln_header.py
parentbd085aee9b4f7a0bee302ce687964ffb7098f986 (diff)
downloadydb-6e38f52f898d7c077ddd319800b4014967a5ca76.tar.gz
Restoring authorship annotation for Evgeny Grechnikov <diamondaz@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'build/scripts/build_pln_header.py')
-rwxr-xr-xbuild/scripts/build_pln_header.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/scripts/build_pln_header.py b/build/scripts/build_pln_header.py
index c73693f444..96bafa99f8 100755
--- a/build/scripts/build_pln_header.py
+++ b/build/scripts/build_pln_header.py
@@ -23,10 +23,10 @@ def BuildPlnHeader():
tmpFile.write('void {0}SSE(const float* const* factors, float* result);\n'.format(name))
tmpFile.close()
try:
- os.remove(outPath)
- except:
- pass
- try:
+ os.remove(outPath)
+ except:
+ pass
+ try:
os.rename(tmpPath, outPath)
except:
print >>sys.stdout, 'Error: Failed to rename ' + tmpPath + ' to ' + outPath