Here is a proposed patch that makes aa-status(8) keep working if python3-apparmor is not available, but uses the fancier exception handling if it is available.
Here is a proposed patch that makes aa-status(8) keep working if python3-apparmor is not available, but uses the fancier exception handling if it is available.