summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-01-13 10:00:56 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-01-13 10:00:56 -0500
commit607d45f426c7e86a256edc7fd442eb126867c243 (patch)
tree621af88daa82c66d034c1a5d7678ec8edf0d6d8e /utils
parent85c657669a202735bf6d4b96b02cbe7518b88485 (diff)
parent59dbd6d3dbd3d036119f4aee2203cf191ed68cee (diff)
downloadopenshift-607d45f426c7e86a256edc7fd442eb126867c243.tar.gz
openshift-607d45f426c7e86a256edc7fd442eb126867c243.tar.bz2
openshift-607d45f426c7e86a256edc7fd442eb126867c243.tar.xz
openshift-607d45f426c7e86a256edc7fd442eb126867c243.zip
Merge pull request #1172 from smunilla/fix_unicode_hostname
atomic-openshift-installer: Error handling for unicode hostnames
Diffstat (limited to 'utils')
-rw-r--r--utils/src/ooinstall/cli_installer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 2b6c9deee..4e30929da 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -33,9 +33,7 @@ def is_valid_hostname(hostname):
def validate_prompt_hostname(hostname):
if '' == hostname or is_valid_hostname(hostname):
return hostname
- raise click.BadParameter('"{}" appears to be an invalid hostname. ' \
- 'Please double-check this value i' \
- 'and re-enter it.'.format(hostname))
+ raise click.BadParameter('Invalid hostname. Please double-check this value and re-enter it.')
def get_ansible_ssh_user():
click.clear()