diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2015-11-03 08:27:26 -0400 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2015-11-03 08:27:26 -0400 |
commit | 39250a47afca63ef0b5a73158a2c9b15443a4235 (patch) | |
tree | d2f6689de7755ae13665f4a8e53b19f950fff0ff /utils/src/ooinstall | |
parent | cc65f03c894af8c40cf9c25128c9834f6cbdd02b (diff) | |
download | openshift-39250a47afca63ef0b5a73158a2c9b15443a4235.tar.gz openshift-39250a47afca63ef0b5a73158a2c9b15443a4235.tar.bz2 openshift-39250a47afca63ef0b5a73158a2c9b15443a4235.tar.xz openshift-39250a47afca63ef0b5a73158a2c9b15443a4235.zip |
Pylint fix.
Diffstat (limited to 'utils/src/ooinstall')
-rw-r--r-- | utils/src/ooinstall/cli_installer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py index c39eb5cac..21e50de6d 100644 --- a/utils/src/ooinstall/cli_installer.py +++ b/utils/src/ooinstall/cli_installer.py @@ -474,7 +474,7 @@ def upgrade(ctx): old_version = oo_cfg.settings['variant_version'] if oo_cfg.settings['variant'] == 'enterprise': oo_cfg.settings['variant'] = 'openshift-enterprise' - variant, version = find_variant(oo_cfg.settings['variant']) + version = find_variant(oo_cfg.settings['variant'])[0] oo_cfg.settings['variant_version'] = version.name click.echo("Openshift will be upgraded from %s %s to %s %s on the following hosts:\n" % ( old_variant, old_version, oo_cfg.settings['variant'], |