summaryrefslogtreecommitdiffstats
path: root/scripts/qemucommand.py
diff options
context:
space:
mode:
authorKostiantyn Bushko <kbushko@intellias.com>2020-01-14 11:23:32 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2020-01-15 11:05:10 +0100
commit484a2d16005ff74563f894552c4f7c0e87332cc1 (patch)
tree7d2a42222435cf2e300261194fb48ebf0f53cbec /scripts/qemucommand.py
parent438c23bfe2d615f26e3894a53fd754a144b069af (diff)
downloadmeta-updater-484a2d16005ff74563f894552c4f7c0e87332cc1.tar.gz
fix issue with attr error for host_forward
Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
Diffstat (limited to 'scripts/qemucommand.py')
-rw-r--r--scripts/qemucommand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py
index 85b12c6..8d3ee0e 100644
--- a/scripts/qemucommand.py
+++ b/scripts/qemucommand.py
@@ -128,7 +128,7 @@ class QemuCommand(object):
128 self.secondary_network = args.secondary_network 128 self.secondary_network = args.secondary_network
129 129
130 # Append additional port forwarding to QEMU command line. 130 # Append additional port forwarding to QEMU command line.
131 if args.host_forward: 131 if hasattr(args, 'host_forward'):
132 self.host_fwd = args.host_forward 132 self.host_fwd = args.host_forward
133 133
134 def command_line(self): 134 def command_line(self):