mirror of
https://github.com/Rudd-O/ansible-qubes.git
synced 2025-03-01 14:22:33 +01:00
Tag 0.0.13.
This commit is contained in:
parent
9871f0aeec
commit
cd0df3cccf
@ -3,7 +3,7 @@
|
|||||||
%define mybuildnumber %{?build_number}%{?!build_number:1}
|
%define mybuildnumber %{?build_number}%{?!build_number:1}
|
||||||
|
|
||||||
Name: ansible-qubes
|
Name: ansible-qubes
|
||||||
Version: 0.0.12
|
Version: 0.0.13
|
||||||
Release: %{mybuildnumber}%{?dist}
|
Release: %{mybuildnumber}%{?dist}
|
||||||
Summary: Inter-VM program execution for Qubes OS AppVMs and StandaloneVMs
|
Summary: Inter-VM program execution for Qubes OS AppVMs and StandaloneVMs
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
@ -138,20 +138,16 @@ def put(out_path):
|
|||||||
chunksize = int(sys.stdin.readline(16))
|
chunksize = int(sys.stdin.readline(16))
|
||||||
if chunksize == 0:
|
if chunksize == 0:
|
||||||
break
|
break
|
||||||
while True:
|
chunk = sys.stdin.read(chunksize)
|
||||||
chunk = sys.stdin.read(chunksize)
|
assert len(chunk) == chunksize, ("Mismatch in chunk length", len(chunk), chunksize)
|
||||||
if chunk == b"":
|
try:
|
||||||
assert chunksize == 0, "Never could finish reading the last %s bytes" % chunksize
|
f.write(chunk)
|
||||||
break
|
sys.stdout.write(b'Y\n')
|
||||||
try:
|
except (IOError, OSError) as e:
|
||||||
f.write(chunk)
|
sys.stdout.write(b'N\n')
|
||||||
except (IOError, OSError) as e:
|
encode_exception(e, sys.stdout)
|
||||||
sys.stdout.write(b'N\n')
|
f.close()
|
||||||
encode_exception(e, sys.stdout)
|
return
|
||||||
f.close()
|
|
||||||
return
|
|
||||||
chunksize = chunksize - len(chunk)
|
|
||||||
sys.stdout.write(b'Y\n')
|
|
||||||
try:
|
try:
|
||||||
f.flush()
|
f.flush()
|
||||||
except (IOError, OSError) as e:
|
except (IOError, OSError) as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user