summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r--meta/lib/oeqa/utils/sshcontrol.py3
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
10import time 10import time
11import os 11import os
12import select 12import select
13import copy
14 13
15 14
16class SSHProcess(object): 15class 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