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



commit 8ef6dcb2a053f9bdcf1e5b86eedefa13d91b9cea
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Fri Sep 6 12:27:09 2013 -0400

    create-auth: fix reference to wrong variable

 create-auth |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index 3e44bbb..409cdbc 100755
--- a/create-auth
+++ b/create-auth
@@ -459,7 +459,7 @@ if __name__ == '__main__':
     if options.homedirs is not None:
         import stat
 
-    if options.translation_user and restrict != 'gnomegit':
+    if options.translation_user and options.restrict != 'gnomegit':
         print >>sys.stderr, "ERROR: --translation-user only works for --gnome-git"
         sys.exit(1)
 


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