[sysadmin-bin] create-auth: correct combination operator



commit a04569c235e5a8147f7ad14b0975bc59643e20ae
Author: Olav Vitters <olav vitters nl>
Date:   Sat Apr 2 13:03:47 2011 +0200

    create-auth: correct combination operator

 create-auth |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index 7072de5..a41d8e8 100755
--- a/create-auth
+++ b/create-auth
@@ -131,7 +131,7 @@ def build_user_hash(group_list, restrict=None):
     for group in group_list:
         users.update(get_uids_from_group(group))
     if restrict in ('gnomegit', 'gnomegit-i18n', 'mango'):
-        gnomevcs_users = (get_uids_from_group('gnomecvs') + get_uids_from_group('gnomevcs')) - users
+        gnomevcs_users = (get_uids_from_group('gnomecvs') | get_uids_from_group('gnomevcs')) - users
         if restrict == 'gnomegit+i18n':
             gnomevcs_users.update(['translations'])
     elif restrict == 'mango':



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