-
Committer:
Christian Boltz
-
Date:
2017-02-21 17:46:36 UTC
-
Revision ID:
apparmor@cboltz.de-20170221174636-dcqfsgh29nf0u22w
Remove re.LOCALE flag
Starting with python 3.6, the re.LOCALE flag can only be used with byte
patterns, and errors out if used with str. This patch removes the flag
in get_translated_hotkey().
References: https://bugs.launchpad.net/apparmor/+bug/1661766
Acked-by: Steve Beattie <steve@nxnw.org> for trunk, 2.10 and 2.9