[apparmor] [patch] Drop CMD_CONTINUE from ui.py (twice)
Christian Boltz
apparmor at cboltz.de
Sat Oct 1 19:15:42 UTC 2016
Hello,
the latest version of pyflakes (1.3.0 / python 3.5) complains that
CMD_CONTINUE is defined twice in ui.py.
Funnily CMD_CONTINUE isn't used anywhere, so we can just drop both.
I propose this patch for trunk, 2.10 and 2.9 to make pyflakes happy again.
[ 01-drop-CMD_CONTINUE.diff ]
--- utils/apparmor/ui.py 2016-10-01 20:33:23.421684000 +0200
+++ utils/apparmor/ui.py 2016-10-01 21:09:24.989899547 +0200
@@ -249,7 +249,6 @@
'CMD_EXEC_IX_ON': _('(X) ix On'),
'CMD_EXEC_IX_OFF': _('(X) ix Off'),
'CMD_SAVE': _('(S)ave Changes'),
- 'CMD_CONTINUE': _('(C)ontinue Profiling'),
'CMD_NEW': _('(N)ew'),
'CMD_GLOB': _('(G)lob'),
'CMD_GLOBEXT': _('Glob with (E)xtension'),
@@ -280,7 +279,6 @@
'CMD_NET_FAMILY': _('Allow Network Fa(m)ily'),
'CMD_OVERWRITE': _('(O)verwrite Profile'),
'CMD_KEEP': _('(K)eep Profile'),
- 'CMD_CONTINUE': _('(C)ontinue'),
'CMD_IGNORE_ENTRY': _('(I)gnore')
}
Regards,
Christian Boltz
--
Die Liste ist kein bezahltes Ticket System mit psychologischer
Betreuung, die Erwartungshaltung gegenüber diesen Diensten erstaunt
mich immer wieder. [Alexander Stoll in postfixbuch-users]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161001/81612fbf/attachment.pgp>
More information about the AppArmor
mailing list