mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Fix AttributeError missed in Python 3 migration
This commit is contained in:
@@ -694,10 +694,8 @@ def run_xsandbox(command, opt):
|
||||
x.verify_host_setup()
|
||||
|
||||
# Debug: show old environment
|
||||
keys = x.old_environ.keys()
|
||||
keys.sort()
|
||||
for k in keys:
|
||||
debug("Old: %s=%s" % (k, x.old_environ[k]))
|
||||
for k, v in sorted(x.old_environ.items()):
|
||||
debug("Old: %s=%s" % (k, v))
|
||||
|
||||
try:
|
||||
x.start()
|
||||
|
Reference in New Issue
Block a user