Change in ovirt-guest-agent[master]: agent: Use the locale module to get the preferred encoding

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 <vfeenstr@redhat.com> --- 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 <vfeenstr@redhat.com> Gerrit-Reviewer: Barak Azulay <bazulay@redhat.com> Gerrit-Reviewer: Giuseppe Vallarelli <gvallare@redhat.com> Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek@redhat.com> Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr@redhat.com>
participants (1)
-
bazulay@redhat.com