[apparmor] [patch] Drop CMD_CONTINUE from ui.py (twice)

Seth Arnold seth.arnold at canonical.com
Mon Oct 3 18:31:06 UTC 2016


On Sat, Oct 01, 2016 at 09:15:42PM +0200, Christian Boltz wrote:
> 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.

Acked for all three.
Acked-by: Seth Arnold <seth.arnold at canonical.com>

Thanks

> 
> 
> [ 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')
>          }
>  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161003/13c4c1c4/attachment.pgp>


More information about the AppArmor mailing list