[CalendarServer-changes] [15592] twext/trunk/twext/who/opendirectory/_service.py

source_changes at macosforge.org source_changes at macosforge.org
Mon May 16 12:20:05 PDT 2016


Revision: 15592
          http://trac.calendarserver.org//changeset/15592
Author:   sagen at apple.com
Date:     2016-05-16 12:20:05 -0700 (Mon, 16 May 2016)
Log Message:
-----------
Use the retry contstant

Modified Paths:
--------------
    twext/trunk/twext/who/opendirectory/_service.py

Modified: twext/trunk/twext/who/opendirectory/_service.py
===================================================================
--- twext/trunk/twext/who/opendirectory/_service.py	2016-05-16 19:18:16 UTC (rev 15591)
+++ twext/trunk/twext/who/opendirectory/_service.py	2016-05-16 19:20:05 UTC (rev 15592)
@@ -1212,7 +1212,7 @@
             response=response
         )
 
-        tries = 3
+        tries = NUM_TRIES
         while tries:
             self.log.debug("Checking digest auth for user '{user}' (tries remaining: {tries})", user=username, tries=tries)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160516/1c269346/attachment.html>


More information about the calendarserver-changes mailing list