[CalendarServer-changes] [469] CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/ directory/cred.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 15 11:35:24 PST 2006


Revision: 469
          http://trac.macosforge.org/projects/calendarserver/changeset/469
Author:   wsanchez at apple.com
Date:     2006-11-15 11:35:24 -0800 (Wed, 15 Nov 2006)

Log Message:
-----------
Don't have to return a deferred.

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/cred.py

Modified: CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/cred.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/cred.py	2006-11-15 19:33:04 UTC (rev 468)
+++ CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/cred.py	2006-11-15 19:35:24 UTC (rev 469)
@@ -58,6 +58,6 @@
             raise UnauthorizedLogin("No such user: %s" % (user,))
 
         if user.verifyCredentials(credentials.credentials):
-            return succeed((credentials.authnPrincipal.principalURL(), credentials.authzPrincipal.principalURL()))
+            return (credentials.authnPrincipal.principalURL(), credentials.authzPrincipal.principalURL())
         else:
             raise UnauthorizedLogin("Incorrect credentials for %s" % (user,)) 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061115/40da9cea/attachment.html


More information about the calendarserver-changes mailing list