Alex Monk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/245137

Change subject: ssh-key-ldap-lookup: Don't print whole list of keys as one line 
before printing each individual one
......................................................................

ssh-key-ldap-lookup: Don't print whole list of keys as one line before printing 
each individual one

Change-Id: I5f938041346fb205e0e533660e441b9e4f927359
---
M modules/ldap/files/scripts/ssh-key-ldap-lookup
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/37/245137/1

diff --git a/modules/ldap/files/scripts/ssh-key-ldap-lookup 
b/modules/ldap/files/scripts/ssh-key-ldap-lookup
index 6f51b46..d5c0f92 100755
--- a/modules/ldap/files/scripts/ssh-key-ldap-lookup
+++ b/modules/ldap/files/scripts/ssh-key-ldap-lookup
@@ -40,7 +40,6 @@
         '(uid=%s)' % username
     )
     for _, user in response:
-        print user['sshPublicKey']
         return user['sshPublicKey']
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/245137
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f938041346fb205e0e533660e441b9e4f927359
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alex Monk <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to