mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
14 lines
311 B
Python
Executable File
14 lines
311 B
Python
Executable File
#!/usr/bin/python3
|
|
|
|
import sys
|
|
import os
|
|
import signal
|
|
import time
|
|
|
|
if __name__ == "__main__":
|
|
for line in sys.stdin:
|
|
os.signal(os.getpid(), signal.SIGTERM)
|
|
updated_line = line.replace("\n", "")
|
|
print(updated_line + "\t" + "Key " + updated_line, end="\n")
|
|
sys.stdout.flush()
|