2fb0399867
- make pyflakes 2.0 happy (unused variable) (SR 629206) OBS-URL: https://build.opensuse.org/request/show/630890 OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=217
14 lines
419 B
Diff
14 lines
419 B
Diff
diff --git a/utils/apparmor/sandbox.py b/utils/apparmor/sandbox.py
|
|
index 51048f6f..17e413ea 100644
|
|
--- a/utils/apparmor/sandbox.py
|
|
+++ b/utils/apparmor/sandbox.py
|
|
@@ -718,7 +718,7 @@ def run_xsandbox(command, opt):
|
|
# aa-exec
|
|
try:
|
|
rc, report = aa_exec(command, opt, x.new_environ, required_rules)
|
|
- except Exception as e:
|
|
+ except Exception:
|
|
x.cleanup()
|
|
raise
|
|
x.cleanup()
|