projects
/
gentoo-keys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488a4f3
)
Add GKEY field name to error output
author
Brian Dolbec
<dolsen@gentoo.org>
Sun, 23 Jun 2013 00:36:31 +0000
(17:36 -0700)
committer
Brian Dolbec
<dolsen@gentoo.org>
Sun, 23 Jun 2013 04:30:59 +0000
(21:30 -0700)
gkeyldap/cli.py
patch
|
blob
|
history
diff --git
a/gkeyldap/cli.py
b/gkeyldap/cli.py
index dae772a758fba6d0d3cceb9f105a59c8e17f8487..06da0f3d8c9e51017e874a732b9abb42cb89eed2 100644
(file)
--- 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