diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-05-10 17:20:21 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-05-12 17:22:13 -0400 |
commit | 2a30a5f0bfece8a3797bbb258fe528f0e249acce (patch) | |
tree | 0b8fc2b4d8e481681e9bc48dde26af0061300e8e /virt-xml | |
parent | a7c620549ab4b806668d85965b1ebfb993cf79d0 (diff) | |
download | virt-manager-2a30a5f0bfece8a3797bbb258fe528f0e249acce.tar.gz |
cli: make parse() guest argument optional
Because the non-guest parsers don't need it.
Diffstat (limited to 'virt-xml')
-rwxr-xr-x | virt-xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ def _find_objects_to_edit(guest, action_name, editval, parserclass): else: # Lookup device by the passed prop string - parserobj = parserclass(guest, editval) + parserobj = parserclass(editval, guest=guest) inst = parserobj.lookup_child_from_option_string() if not inst: fail(_("No matching objects found for --%s %s") % |