[CalendarServer-changes] [5421] CalendarServer/branches/users/glyph/sendfdport/calendarserver/tap/ caldav.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 30 14:54:34 PDT 2010


Revision: 5421
          http://trac.macosforge.org/projects/calendarserver/changeset/5421
Author:   glyph at apple.com
Date:     2010-03-30 14:54:34 -0700 (Tue, 30 Mar 2010)
Log Message:
-----------
use a temp. var to shorten the line and eliminate the need for <80 wrapping

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/sendfdport/calendarserver/tap/caldav.py

Modified: CalendarServer/branches/users/glyph/sendfdport/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/branches/users/glyph/sendfdport/calendarserver/tap/caldav.py	2010-03-30 21:52:33 UTC (rev 5420)
+++ CalendarServer/branches/users/glyph/sendfdport/calendarserver/tap/caldav.py	2010-03-30 21:54:34 UTC (rev 5421)
@@ -1168,13 +1168,13 @@
         # processes to procmon.  This step must be done prior to setting
         # active to 1
         for processObject, env in self.processObjects:
+            name = processObject.getName()
             self.addProcess(
-                processObject.getName(),
+                name,
                 processObject.getCommandLine(),
                 env=env
             )
-            self._extraFDs[
-                processObject.getName()] = processObject.getFileDescriptors()
+            self._extraFDs[name] = processObject.getFileDescriptors()
 
         self.active = 1
         delay = 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100330/d44f1e86/attachment.html>


More information about the calendarserver-changes mailing list