mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-26 14:30:42 +00:00
Need to set the locale to current locale
Without this call the audit2allow -b command was failing in certain countries.
This commit is contained in:
parent
f8a46ac9b3
commit
69129b4983
@ -29,6 +29,8 @@ import sepolgen.defaults as defaults
|
|||||||
import sepolgen.module as module
|
import sepolgen.module as module
|
||||||
from sepolgen.sepolgeni18n import _
|
from sepolgen.sepolgeni18n import _
|
||||||
import selinux.audit2why as audit2why
|
import selinux.audit2why as audit2why
|
||||||
|
import locale
|
||||||
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
|
|
||||||
class AuditToPolicy:
|
class AuditToPolicy:
|
||||||
VERSION = "%prog .1"
|
VERSION = "%prog .1"
|
||||||
|
Loading…
Reference in New Issue
Block a user