summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2012-10-30 14:22:44 +0100
committerCole Robinson <crobinso@redhat.com>2012-10-30 10:10:09 -0400
commitd9e8546e8608d0fd0b6af61e9a2236c91b286cdd (patch)
treec5a91fbc528f09ba22f8585b8bdacbd0ad00c659
parent538420e03239da7870b5b051c043072109f68fda (diff)
downloadvirt-manager-d9e8546e8608d0fd0b6af61e9a2236c91b286cdd.tar.gz
Fix --test-first-run
One of previous patches (96ce9ac0b125) invented this feature. However, in options object it is called testfirstrun not test_first_run. This produces a runtime error. (crobinso: add Michal to AUTHORS)
-rw-r--r--AUTHORS1
-rwxr-xr-xsrc/virt-manager.py.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index fb81b58a..241b2f5c 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -83,6 +83,7 @@ Further patches have been submitted by:
Eduardo Elias Ferreira <edusf-at-linux-dot-vnet-dot-ibm-dot-com>
Joey Boggs <jboggs-at-redhat-dot-com>
Marcus Karlsson <mk-at-acc.umu.se>
+ Michal Privoznik <mprivozn-at-redhat-dot-com>
<...send a patch & get your name here...>
diff --git a/src/virt-manager.py.in b/src/virt-manager.py.in
index 8d09b28f..f3145025 100755
--- a/src/virt-manager.py.in
+++ b/src/virt-manager.py.in
@@ -334,7 +334,7 @@ def main():
import virtManager.config
import virtManager.util
config = virtManager.config.vmmConfig(appname, appversion, ui_dir,
- options.test_first_run)
+ options.testfirstrun)
virtManager.util.running_config = config
config.default_qemu_user = default_qemu_user
config.rhel6_defaults = rhel_enable_unsupported_opts