[apparmor] [patch] move regexes from aa.py to regex.py

Steve Beattie steve at nxnw.org
Thu Nov 13 06:46:26 UTC 2014


On Wed, Nov 12, 2014 at 02:42:58PM -0800, Steve Beattie wrote:
> Another alternative would be explicitly name all the regex
> symbols, rather than glob them in (which also makes pyflakes cry,
> I believe).

Indeed, 'make check' is failing in the utils/ directory on trunk because
of this import:

  Checking apparmor
  apparmor/aa.py:43: 'from apparmor.regex import *' used; unable to detect undefined names
  Makefile:98: recipe for target 'check' failed
  make: *** [check] Error 1

So we should come up with a solution for this.

-- 
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: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20141112/39ef917e/attachment.pgp>


More information about the AppArmor mailing list