In _query_libvirt_domain() method in error output newline was missing
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
---
lnst/Controller/Wizard.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Controller/Wizard.py b/lnst/Controller/Wizard.py
index 74f2691..ddd461a 100644
--- a/lnst/Controller/Wizard.py
+++ b/lnst/Controller/Wizard.py
@@ -426,7 +426,7 @@ class Wizard:
if lease["hostname"] == libvirt_domain:
return (libvirt_domain, lease["ipaddr"])
except:
- sys.stderr.write("Failed getting DHCPLeases from hypervisor")
+ sys.stderr.write("Failed getting DHCPLeases from
hypervisor\n")
sys.stderr.write("Couldn't find any IP associated with "
"libvirt_domain '%s'\n" % libvirt_domain)
--
2.4.3
Show replies by date