[CalendarServer-changes] [5092] CalendarServer/trunk/bin

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 11 18:48:04 PST 2010


Revision: 5092
          http://trac.macosforge.org/projects/calendarserver/changeset/5092
Author:   cdaboo at apple.com
Date:     2010-02-11 18:48:01 -0800 (Thu, 11 Feb 2010)
Log Message:
-----------
Get the path right.

Modified Paths:
--------------
    CalendarServer/trunk/bin/calendarserver_load_augmentdb
    CalendarServer/trunk/bin/calendarserver_make_partition
    CalendarServer/trunk/bin/calendarserver_manage_augments

Modified: CalendarServer/trunk/bin/calendarserver_load_augmentdb
===================================================================
--- CalendarServer/trunk/bin/calendarserver_load_augmentdb	2010-02-12 02:21:27 UTC (rev 5091)
+++ CalendarServer/trunk/bin/calendarserver_load_augmentdb	2010-02-12 02:48:01 UTC (rev 5092)
@@ -32,6 +32,8 @@
         child = Popen((run, "-p"), stdout=PIPE)
         path, stderr = child.communicate()
 
+        path = path.rstrip("\n")
+
         if child.wait() == 0:
             sys.path[0:0] = path.split(":")
 

Modified: CalendarServer/trunk/bin/calendarserver_make_partition
===================================================================
--- CalendarServer/trunk/bin/calendarserver_make_partition	2010-02-12 02:21:27 UTC (rev 5091)
+++ CalendarServer/trunk/bin/calendarserver_make_partition	2010-02-12 02:48:01 UTC (rev 5092)
@@ -32,6 +32,8 @@
         child = Popen((run, "-p"), stdout=PIPE)
         path, stderr = child.communicate()
 
+        path = path.rstrip("\n")
+
         if child.wait() == 0:
             sys.path[0:0] = path.split(":")
 

Modified: CalendarServer/trunk/bin/calendarserver_manage_augments
===================================================================
--- CalendarServer/trunk/bin/calendarserver_manage_augments	2010-02-12 02:21:27 UTC (rev 5091)
+++ CalendarServer/trunk/bin/calendarserver_manage_augments	2010-02-12 02:48:01 UTC (rev 5092)
@@ -32,6 +32,8 @@
         child = Popen((run, "-p"), stdout=PIPE)
         path, stderr = child.communicate()
 
+        path = path.rstrip("\n")
+
         if child.wait() == 0:
             sys.path[0:0] = path.split(":")
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100211/8d8909db/attachment.html>


More information about the calendarserver-changes mailing list