Barak Azulay has submitted this change and it was merged.

Change subject: agent: Use the locale module to get the preferred encoding
......................................................................


agent: Use the locale module to get the preferred encoding

The guest agent used for the string sanitization sys.stdout.encoding
which is set to None when you're running without an allocated console.
This is the case on Windows as a service. The locale module provides
the function getpreferredencoding() which returns the required value.

Resolves: BZ#962667

Change-Id: I9ff6e3c7165599f80d13115e0173eefe0e79e664
Bug-Url: https://bugzilla.redhat.com/962667
Signed-off-by: Vinzenz Feenstra <[email protected]>
---
M ovirt-guest-agent/VirtIoChannel.py
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Giuseppe Vallarelli: Looks good to me, but someone else must approve
  Vinzenz Feenstra: Verified; Looks good to me, but someone else must approve
  Barak Azulay: Looks good to me, approved
  Michal Skrivanek: Looks good to me, but someone else must approve


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9ff6e3c7165599f80d13115e0173eefe0e79e664
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Giuseppe Vallarelli <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to