[sysadmin-bin] create-auth: debug --homedirs options



commit 4033883f0ec1465c60176927cd78b6b9cf89c8c5
Author: Olav Vitters <olav vitters nl>
Date:   Sat Apr 2 13:43:01 2011 +0200

    create-auth: debug --homedirs options

 create-auth |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/create-auth b/create-auth
index 9ef1470..395c33c 100755
--- a/create-auth
+++ b/create-auth
@@ -303,9 +303,9 @@ if __name__ == '__main__':
     if options.homedirs is not None:
         import pprint
         if options.homedirs == 'all':
-            homedir_list = ['ovitters']
-        else:
             homedir_list = None
+        else:
+            homedir_list = ['ovitters']
         homedirs = get_homedirs(homedir_list)
         pprint.pprint(homedirs)
         sys.exit(1)



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