pep8 cleanup and remove unused vars/imports

This commit is contained in:
Campbell Barton
2011-02-17 04:35:41 +00:00
parent f7295ad6d9
commit 812f238494
20 changed files with 61 additions and 97 deletions

View File

@@ -45,11 +45,6 @@ def source_list(path, filename_check=None):
# extension checking
def is_c_header(filename):
ext = splitext(filename)[1]
return (ext in (".h", ".hpp", ".hxx"))
def is_cmake(filename):
ext = splitext(filename)[1]
return (ext == ".cmake") or (filename == "CMakeLists.txt")