[Extras-cauldron-commits] r102 - trunk/devel-mover

mishas at garage.maemo.org mishas at garage.maemo.org
Sat Aug 23 13:12:43 EEST 2008


Author: mishas
Date: 2008-08-23 13:12:42 +0300 (Sat, 23 Aug 2008)
New Revision: 102

Modified:
   trunk/devel-mover/interface.py
Log:
fixed a typo

Modified: trunk/devel-mover/interface.py
===================================================================
--- trunk/devel-mover/interface.py	2008-08-23 10:06:45 UTC (rev 101)
+++ trunk/devel-mover/interface.py	2008-08-23 10:12:42 UTC (rev 102)
@@ -525,7 +525,7 @@
             if not valid_users:
                 plain_text_error('No valid users are configured.  Bailing out.  Sorry.')
 
-            if os.environ['REMOTE_USER'] not in VALID_USERS:
+            if os.environ['REMOTE_USER'] not in valid_users:
                 plain_text_error('You are not authorized to use the system')
         elif MAIN_SECTION.auth_method == 'pam':
             if MAIN_SECTION.pam_service is None:



More information about the Extras-cauldron-commits mailing list