From 7e29324216f9ab90790e482c34e189891c2a2cd9 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sat, 22 Jun 2013 17:36:31 -0700 Subject: [PATCH] Add GKEY field name to error output --- gkeyldap/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gkeyldap/cli.py b/gkeyldap/cli.py index dae772a..06da0f3 100644 --- a/gkeyldap/cli.py +++ b/gkeyldap/cli.py @@ -257,8 +257,8 @@ class Main(object): %(field, info['uid'][0], info['cn'][0])) keyinfo.append(value) except KeyError: - logger.error("Missing %s for %s, %s" - %(field, info['uid'][0], info['cn'][0])) + logger.error("Missing %s (%s) for %s, %s" + %(field, x, info['uid'][0], info['cn'][0])) keyinfo.append(None) return keyinfo -- 2.26.2