[CalendarServer-changes] [9100] CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/mail. py

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 13 11:47:48 PDT 2012


Revision: 9100
          http://trac.macosforge.org/projects/calendarserver/changeset/9100
Author:   glyph at apple.com
Date:     2012-04-13 11:47:48 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
pyflakes: don't clobber global name 'server'

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/mail.py

Modified: CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/mail.py
===================================================================
--- CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/mail.py	2012-04-13 18:47:43 UTC (rev 9099)
+++ CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/mail.py	2012-04-13 18:47:48 UTC (rev 9100)
@@ -648,11 +648,11 @@
         log.warn("Can't find server for %s" % (organizer,))
         raise ServerNotFound()
 
-    server = record.server() # None means hosted locally
-    if server is None:
+    srvr = record.server() # None means hosted locally
+    if srvr is None:
         return None
     else:
-        return server.uri
+        return srvr.uri
 
 
 class ServerNotFound(Exception):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120413/54b9960d/attachment-0001.html>


More information about the calendarserver-changes mailing list