[apparmor] [Patch] fix create-apparmor.vim.py for python 2.5

Steve Beattie steve at nxnw.org
Fri Jun 8 21:13:02 UTC 2012


On Fri, Jun 08, 2012 at 12:50:40PM -0700, John Johansen wrote:
> create-apparmor.vim.py was failing on systems with python 2.5, fix that
> 
> If this patch is acceptable I would like to nominate it for 2.8.1

Acked-By: Steve Beattie <sbeattie at ubuntu.com> for both trunk and 2.8.1

Thanks.

> --- a/utils/vim/create-apparmor.vim.py
> +++ b/utils/vim/create-apparmor.vim.py
> @@ -9,6 +9,7 @@
>  #    Written by Steve Beattie <steve at nxnw.org>, based on work by
>  #    Christian Boltz <apparmor at cboltz.de>
>  
> +from __future__ import with_statement
>  import os
>  import re
>  import subprocess

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120608/85313bf5/attachment.pgp>


More information about the AppArmor mailing list