Commit c5cd9637 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

qa_config: Remove useless "options" variable

It is only used in one place and not necessary.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 473ab806
......@@ -655,14 +655,14 @@ def main():
parser.add_option("--yes-do-it", dest="yes_do_it",
help="Really execute the tests")
(qa_config.options, args) = parser.parse_args()
(opts, args) = parser.parse_args()
if len(args) == 1:
(config_file, ) = args
parser.error("Wrong number of arguments.")
if not qa_config.options.yes_do_it:
if not opts.yes_do_it:
print ("Executing this script irreversibly destroys any Ganeti\n"
"configuration on all nodes involved. If you really want\n"
"to start testing, supply the --yes-do-it option.")
......@@ -40,7 +40,6 @@ _EXCLUSIVE_STORAGE_KEY = "_exclusive_storage"
cfg = {}
options = None
def Load(path):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment