[CalendarServer-changes] [5545] CalDAVTester/trunk/src/manager.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Apr 29 13:28:58 PDT 2010


Revision: 5545
          http://trac.macosforge.org/projects/calendarserver/changeset/5545
Author:   cdaboo at apple.com
Date:     2010-04-29 13:28:56 -0700 (Thu, 29 Apr 2010)
Log Message:
-----------
Allow absolute paths to test files.

Modified Paths:
--------------
    CalDAVTester/trunk/src/manager.py

Modified: CalDAVTester/trunk/src/manager.py
===================================================================
--- CalDAVTester/trunk/src/manager.py	2010-04-29 02:36:14 UTC (rev 5544)
+++ CalDAVTester/trunk/src/manager.py	2010-04-29 20:28:56 UTC (rev 5545)
@@ -177,7 +177,9 @@
 
         # Process any file arguments as test configs
         for f in args:
-            fnames.append(dname + "/" + f)
+            if f[0] != '/':
+                f = os.path.join(dname, f)
+            fnames.append(f)
         
         # Randomize file list
         if random_order:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100429/69b6d702/attachment.html>


More information about the calendarserver-changes mailing list