[CalendarServer-changes] [9057] CalendarServer/branches/users/glyph/ipv6-client/pyflakes

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 13 11:43:55 PDT 2012


Revision: 9057
          http://trac.macosforge.org/projects/calendarserver/changeset/9057
Author:   glyph at apple.com
Date:     2012-04-13 11:43:54 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
Add an exemption for backport/ (the files should be exactly as-is) but remove exceptions for excluded categories of warning that we have dealt with since the addition of those exceptions.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/ipv6-client/pyflakes

Modified: CalendarServer/branches/users/glyph/ipv6-client/pyflakes
===================================================================
--- CalendarServer/branches/users/glyph/ipv6-client/pyflakes	2012-04-13 18:43:49 UTC (rev 9056)
+++ CalendarServer/branches/users/glyph/ipv6-client/pyflakes	2012-04-13 18:43:54 UTC (rev 9057)
@@ -15,13 +15,11 @@
 tmp="$(mktemp "/tmp/pyflakes.XXXXX")";
 
 cd "${wd}" && "${flakes}/bin/pyflakes" "$@" | sed                     \
-  -e "/undefined name '_'/d"                                          \
-  -e "/undefined name 'CalDAVFile'/d"                                 \
   -e "/redefinition of unused/d"                                      \
   -e "/'from .* import \\*' used; unable to detect undefined names/d" \
   -e "/redefinition of function/d"                                    \
-  -e "/i[a-z]*store.py:[0-9][0-9]*: '.*' imported but unused/d"       \
   -e "/xmlext.py:[0-9][0-9]*: /d"                                     \
+  -e "/^twext\\/backport/d"                                           \
   | tee "${tmp}";
 
 if [ -s "${tmp}" ]; then error="true"; else error="false"; fi;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120413/5a924c35/attachment.html>


More information about the calendarserver-changes mailing list