diff options
-rw-r--r-- | sos/utilities.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/utilities.py b/sos/utilities.py index bc998fa8..af60f823 100644 --- a/sos/utilities.py +++ b/sos/utilities.py @@ -129,7 +129,7 @@ def sos_get_command_output(command, timeout=300, stderr=False, cmd_env['LC_ALL'] = 'C' # optionally add an environment change for the command if env: - for key, value in env.iteritems(): + for key, value in env.items(): cmd_env[key] = value # use /usr/bin/timeout to implement a timeout if timeout and is_executable("timeout"): |