[CalendarServer-changes] [7698] CalendarServer/trunk/test

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 30 16:08:23 PDT 2011


Revision: 7698
          http://trac.macosforge.org/projects/calendarserver/changeset/7698
Author:   wsanchez at apple.com
Date:     2011-06-30 16:08:23 -0700 (Thu, 30 Jun 2011)
Log Message:
-----------
Change module names to python file names

Modified Paths:
--------------
    CalendarServer/trunk/test

Modified: CalendarServer/trunk/test
===================================================================
--- CalendarServer/trunk/test	2011-06-30 20:44:13 UTC (rev 7697)
+++ CalendarServer/trunk/test	2011-06-30 23:08:23 UTC (rev 7698)
@@ -85,7 +85,7 @@
 
 echo "";
 echo "Running pyflakes...";
-cd "${wd}" && ./pyflakes "${test_modules}" | tee "${tmp}" 2>&1;
+cd "${wd}" && ./pyflakes $(echo ${test_modules} | sed 's|\.|/|g' | sed 's|\([^.][^p][^y]\)$|\1.py|') | tee "${tmp}" 2>&1;
 if [ -s "${tmp}" ]; then
   echo "**** Pyflakes says you have some code to clean up. ****";
   exit 1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110630/613f6411/attachment.html>


More information about the calendarserver-changes mailing list