mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00

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>
9 lines
381 B
Python
9 lines
381 B
Python
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2011-2012 Canonical Ltd.
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
# License published by the Free Software Foundation.
|
|
#
|
|
# ------------------------------------------------------------------
|