diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-01-25 15:44:14 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2014-01-25 17:20:30 -0500 |
commit | 26737eb7d59c5eb8da6c8532a8cde90569fe98ae (patch) | |
tree | 2388ca306316d421bee931d8381d2beaf058619d /virtinst/connection.py | |
parent | 9f5a842a3ab2bea5ba2ff6eb60206b30a1ad8a22 (diff) | |
download | virt-manager-26737eb7d59c5eb8da6c8532a8cde90569fe98ae.tar.gz |
virt-xml: Allow --option clearxml to clear all XML first
Needed for things like --cpu host-model,clearxml to easily clear all
the previous state.
Diffstat (limited to 'virtinst/connection.py')
-rw-r--r-- | virtinst/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtinst/connection.py b/virtinst/connection.py index 6f89fae4..30007901 100644 --- a/virtinst/connection.py +++ b/virtinst/connection.py @@ -80,7 +80,7 @@ class VirtualConnection(object): ret = uri.split(",", 1) self._open_uri = ret[0] self._test_opts = VirtOptionString( - len(ret) > 1 and ret[1] or "", []).opts + len(ret) > 1 and ret[1] or "", [], None).opts self._early_virtinst_test_uri() self._uri = self._virtinst_uri_make_fake() else: |