diff options
| author | Kostiantyn Bushko <kbushko@intellias.com> | 2020-01-14 11:23:32 +0200 |
|---|---|---|
| committer | Patrick Vacek <patrickvacek@gmail.com> | 2020-01-15 12:24:05 +0100 |
| commit | ddfca3b43259e6306ad6dfdbfbb1b902137d5525 (patch) | |
| tree | dbd347dbde0c296c558bf2d3ff184b9711ad1263 /scripts/qemucommand.py | |
| parent | cfa6937bd1e83a89f012bb71cdc3e53b7a874f9c (diff) | |
| download | meta-updater-ddfca3b43259e6306ad6dfdbfbb1b902137d5525.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.py | 2 |
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): |
