[apparmor] [patch 15/18] utils: remove unneeded imports from a-easyprof and aa-sandbox

Steve Beattie steve at nxnw.org
Thu Jan 16 22:06:23 UTC 2014


Found by running pyflakes on these scripts.

Signed-off-by: Steve Beattie <steve at nxnw.org>
---
 utils/aa-easyprof |    1 -
 utils/aa-sandbox  |    3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

Index: b/utils/aa-easyprof
===================================================================
--- a/utils/aa-easyprof
+++ b/utils/aa-easyprof
@@ -11,7 +11,6 @@
 
 import apparmor.easyprof
 from apparmor.easyprof import AppArmorException, error
-import optparse
 import os
 import sys
 
Index: b/utils/aa-sandbox
===================================================================
--- a/utils/aa-sandbox
+++ b/utils/aa-sandbox
@@ -10,9 +10,8 @@
 # ------------------------------------------------------------------
 
 import apparmor.sandbox
-from apparmor.common import AppArmorException, error
+from apparmor.common import error
 import optparse
-import os
 import sys
 
 if __name__ == "__main__":




More information about the AppArmor mailing list