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)
This commit is contained in:
Michal Privoznik 2012-10-30 14:22:44 +01:00 committed by Cole Robinson
parent 538420e032
commit d9e8546e86
2 changed files with 2 additions and 1 deletions

View File

@ -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...>

View File

@ -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