Change in ovirt-engine[master]: packaging: solve python output oddness

oschreib at redhat.com oschreib at redhat.com
Mon Jan 14 20:40:38 UTC 2013


Ofer Schreiber has submitted this change and it was merged.

Change subject: packaging: solve python output oddness
......................................................................


packaging: solve python output oddness

For some strange reason python loses sync with its handles when mixed
flush/fileno commands are used.

Effected command is 'print "something",', however when replaced with
sys.stdout.write("something") it works properly.

Steps to reproduce: unknown.

Solution: do not use print for formatted output.

Change-Id: I4f8e09d263990f16fb7d386cb45e68f0fe58bf1e
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M packaging/fedora/setup/engine-cleanup.py
M packaging/fedora/setup/engine-upgrade.py
M packaging/fedora/setup/setup_sequences.py
3 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Ofer Schreiber: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10960
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f8e09d263990f16fb7d386cb45e68f0fe58bf1e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>



More information about the Engine-commits mailing list