diff options
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r-- | meta/lib/oeqa/utils/sshcontrol.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/sshcontrol.py b/meta/lib/oeqa/utils/sshcontrol.py index 4f8d3d2c98..6ed48badc8 100644 --- a/meta/lib/oeqa/utils/sshcontrol.py +++ b/meta/lib/oeqa/utils/sshcontrol.py | |||
@@ -10,7 +10,6 @@ import subprocess | |||
10 | import time | 10 | import time |
11 | import os | 11 | import os |
12 | import select | 12 | import select |
13 | import copy | ||
14 | 13 | ||
15 | 14 | ||
16 | class SSHProcess(object): | 15 | class SSHProcess(object): |
@@ -33,7 +32,7 @@ class SSHProcess(object): | |||
33 | self.logfile = None | 32 | self.logfile = None |
34 | 33 | ||
35 | # Unset DISPLAY which means we won't trigger SSH_ASKPASS | 34 | # Unset DISPLAY which means we won't trigger SSH_ASKPASS |
36 | env = copy.copy(os.environ) | 35 | env = os.environ.copy() |
37 | if "DISPLAY" in env: | 36 | if "DISPLAY" in env: |
38 | del env['DISPLAY'] | 37 | del env['DISPLAY'] |
39 | self.options['env'] = env | 38 | self.options['env'] = env |