mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Due to wanting to support additional external apparmor python modules,
both real [0] and hypothetical (e.g. gui prototypes), as part of the python utils merge, some namespace packaging bits were added to apparmor/__init__.py, based on the (not very clear) advice given in python's pep 0420 [1]. However, a side effect of this is that it causes system installed versions of python modules to be used over paths specified via PYTHONPATH [2], which breaks our in-tree tests when the system versions of the python modules are out of date with respect to the in-tree version. It seems based on testing, however, that carrying this code snippet is no longer necessary to have external modules be found. Thus, the following patch drops it. [0] e.g. https://launchpad.net/click-apparmor [1] http://www.python.org/dev/peps/pep-0420/ [2] a python upstream discussion about this occurred at https://mail.python.org/pipermail/distutils-sig/2014-March/024049.html Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
parent
c48d7dc71f
commit
08bc0441d4
1 changed files with 0 additions and 1 deletions
|
@ -7,4 +7,3 @@
|
|||
# License published by the Free Software Foundation.
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
__import__('pkg_resources').declare_namespace(__name__)
|
||||
|
|
Loading…
Add table
Reference in a new issue