diff -r 3fedc29a98bb -r 466e4c574db0 contrib/import-checker.py --- a/contrib/import-checker.py Mon Feb 03 20:08:58 2014 +0100 +++ b/contrib/import-checker.py Fri Feb 07 02:59:46 2014 +0100 @@ -17,7 +17,7 @@ 'zlib' """ parts = path.split('/') - parts[-1] = parts[-1][:-3] # remove .py + parts[-1] = parts[-1].split('.', 1)[0] # remove .py and .so and .ARCH.so if parts[-1].endswith('module'): parts[-1] = parts[-1][:-6] return '.'.join(parts)