Antoni Segura Puimedon has posted comments on this change.
Change subject: selinux.restorecon: encode filename to utf-8 string
......................................................................
Patch Set 1: Verified+1
Passes the functional tests and I verified it doing:
touch façana
python
>>>import selinux
>>>filename = selinux.restorecon(u'façana') # Fails
>>>filename = selinux.restorecon(u'façana'.encode('utf-8')) # Succeeds
^D
--
To view, visit http://gerrit.ovirt.org/31388
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibca42d47d5a241f864fa5818996734cce9955fe6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches