From dc7da4c671f513243c4840cf40e2a2ed2e7d9d74 Mon Sep 17 00:00:00 2001 From: John Dennis Date: Thu, 12 Nov 2015 15:02:33 -0500 Subject: [PATCH] Error messages missing value for format-specifier Two error messages were missing the value for the %s format specifier. Ticket: 201 Signed-off-by: John Dennis Reviewed-by: Rob Crittenden --- ipsilon/install/ipsilon-server-install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ipsilon/install/ipsilon-server-install b/ipsilon/install/ipsilon-server-install index 74d995c..64fa413 100755 --- a/ipsilon/install/ipsilon-server-install +++ b/ipsilon/install/ipsilon-server-install @@ -410,7 +410,8 @@ def parse_args(plugins): return args if len(args['hostname'].split('.')) < 2: - raise ConfigurationError('Hostname: %s is not a FQDN') + raise ConfigurationError('Hostname: %s is not a FQDN' % + args['hostname']) for plugin_group in plugins: for plugin_name in plugins[plugin_group]: @@ -420,7 +421,8 @@ def parse_args(plugins): try: pwd.getpwnam(args['system_user']) except KeyError: - raise ConfigurationError('User: %s not found on the system') + raise ConfigurationError('User: %s not found on the system' % + args['system_user']) if args['lm_order'] is None: args['lm_order'] = [] -- 2.20.1