[sysadmin-bin] create-auth: fix another reference to the wrong variable



commit 00e27333c734f3dc56e5e1bb51f030fa8a0cc2e6
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Fri Sep 6 12:38:52 2013 -0400

    create-auth: fix another reference to the wrong variable

 create-auth |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index 409cdbc..8769bc5 100755
--- a/create-auth
+++ b/create-auth
@@ -341,7 +341,7 @@ def build_user_hash(group_list, options):
         if options.restrict == 'gnomegit' and options.translation_user and uid == 'translations':
             user_data[uid]['restrict'] = 'gnomegit-i18n'
         else:
-            user_data[uid]['restrict'] = restrict
+            user_data[uid]['restrict'] = options.restrict
 
     for uid in wheel | sysadmin:
         if uid not in user_data:


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