From: Brian Dolbec Date: Sun, 23 Jun 2013 00:36:31 +0000 (-0700) Subject: Add GKEY field name to error output X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e29324216f9ab90790e482c34e189891c2a2cd9;p=gentoo-keys.git Add GKEY field name to error output --- 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