diff contrib/import-checker.py @ 20238:81e905790b30

check-code: do not skip entire file, skip only one match instead Skipping of the entire file has been introduced in bc3b48b0f5c8.
author Simon Heimberg <simohe@besonet.ch>
date Tue, 07 Jan 2014 22:28:45 +0100
parents bc3b48b0f5c8
children 4990abb4729d
line wrap: on
line diff
--- a/contrib/import-checker.py	Sat Nov 16 15:46:29 2013 -0500
+++ b/contrib/import-checker.py	Tue Jan 07 22:28:45 2014 +0100
@@ -75,7 +75,7 @@
         # something in stdlib_prefixes. check-code suppressed because
         # the ast module used by this script implies the availability
         # of any().
-        if not any(libpath.startswith(p) for p in stdlib_prefixes): # no-check-code
+        if not any(libpath.startswith(p) for p in stdlib_prefixes): # no-py24
             continue
         if 'site-packages' in libpath:
             continue