Author: remi
Date: 2008-09-16 21:49:11 +0200 (Tue, 16 Sep 2008)
New Revision: 1858

Modified:
   
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/api/TuxAPIServer.py
Log:
* activated the anonymous level for tux.server.connect

Modified: 
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/api/TuxAPIServer.py
===================================================================
--- 
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/api/TuxAPIServer.py 
    2008-09-16 19:26:49 UTC (rev 1857)
+++ 
software_suite_v2/tuxware/pytuxisalive/trunk/src/tuxisalive/api/TuxAPIServer.py 
    2008-09-16 19:49:11 UTC (rev 1858)
@@ -271,6 +271,12 @@
         # If client level is invalid - Failed
         if level not in CLIENT_LEVELS:
             return False
+        # If client level is ANONYME - Success
+        if level == CLIENT_LEVEL_ANONYME:
+            cmdUrl = "0/"
+            self.__setCmdUrl(cmdUrl)
+            self.__setConnected(True)
+            return True
         # Check name and passw type
         if not checkValue(name, 'str'):
             return False


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to