commit:     cf22af68362e06c110fe77d5120df8140668c675
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  5 09:12:41 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Jan  5 22:14:36 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=cf22af68

gkeyldap/actions.py: Add generated default uid to seed data

---
 gkeys-ldap/gkeyldap/actions.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gkeys-ldap/gkeyldap/actions.py b/gkeys-ldap/gkeyldap/actions.py
index 45fff09..27c961d 100644
--- a/gkeys-ldap/gkeyldap/actions.py
+++ b/gkeys-ldap/gkeyldap/actions.py
@@ -182,6 +182,7 @@ class Actions(object):
                 keyinfo.pop('keyid', None)
                 keyinfo.pop('longkeyid', None)
                 keyinfo['keys'] = keyinfo['fingerprint']
+                keyinfo['uid'] = ["%s <%s...@gentoo.org>" % (info['cn'][0], 
info['uid'][0])]
                 return keyinfo
         return None
 

Reply via email to