[sysadmin-bin] create-auth: return user_data



commit ac3727ae1befbd7a91a22648f31716de42fa0a9f
Author: Olav Vitters <olav vitters nl>
Date:   Sat Apr 2 14:23:23 2011 +0200

    create-auth: return user_data

 create-auth |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index 8bb91e0..1401efe 100755
--- a/create-auth
+++ b/create-auth
@@ -190,7 +190,7 @@ def build_user_hash(group_list, restrict=None):
             else:
                 user_data[uid]['restrict'] = restrict
 
-    return user_data.values()
+    return user_data
 
 # we don't expect any errors with this so we let any that occur go up
 # to the top so that cron mails them out.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]