[sysadmin-bin] create-auth: fix variable name



commit d40088f9c01f1e7b362668290a48e6813b7ee52b
Author: Olav Vitters <olav vitters nl>
Date:   Sat Apr 2 14:21:40 2011 +0200

    create-auth: fix variable name

 create-auth |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index a4f9645..8bb91e0 100755
--- a/create-auth
+++ b/create-auth
@@ -115,7 +115,7 @@ def get_homedirs(limit_uids=None):
 def create_home_directories(uids_data):
     src = '/etc/skel'
     created_uids = set()
-    for uid, data in uids.iteritems():
+    for uid, data in uids_data.iteritems():
         dst = data['homeDirectory']
         if dst != '/home/users/%s' % uid or os.path.isdir(dst):
             continue



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