Commit 35fbc373 authored by Adrian Reber's avatar Adrian Reber Committed by Andrei Vagin

test rpc: remove unnecessary import, close fd

Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 0a859275
...@@ -5,12 +5,11 @@ ...@@ -5,12 +5,11 @@
# but the bash version on Ubuntu has probably the following bug: # but the bash version on Ubuntu has probably the following bug:
# https://lists.gnu.org/archive/html/bug-bash/2017-07/msg00039.html # https://lists.gnu.org/archive/html/bug-bash/2017-07/msg00039.html
import os
import sys import sys
f = open(sys.argv[1])
f=open(sys.argv[1])
r = f.read(1) r = f.read(1)
f.close()
if r == '\0': if r == '\0':
sys.exit(0) sys.exit(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment