[sysadmin-bin] Iterate over each of the groups



commit ab6986c0257f31262d86ff525553fb302fc347d2
Author: Andrea Veri <av gnome org>
Date:   Thu Oct 16 14:42:59 2014 +0200

    Iterate over each of the groups

 create-homedirs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/create-homedirs b/create-homedirs
index dd385d4..cb8ee3c 100755
--- a/create-homedirs
+++ b/create-homedirs
@@ -60,5 +60,5 @@ if __name__ == '__main__':
     LOGIN_GROUPS = ['ftpadmin', 'gnomeweb', 'gnomecvs', 'bugzilla']
     for group in LOGIN_GROUPS:
         user_list = get_uids_from_group(group)
-    for user in user_list:
-        create_home_directory (user)
+        for user in user_list:
+            create_home_directory(user)


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