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 <[email protected]>

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')
>          }
>  

Attachment: signature.asc
Description: PGP signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to