pep8 checker, mostly pedantic style changes but also found an error in mesh_utils...
[blender.git] / build_files / cmake / example_scripts / make_quicky.py
index d7c43f4b86e27962780144c52f6cf5ad99b951bc..a4e0d3371f16e5de9cd417f4c17c4a82f950c781 100755 (executable)
@@ -43,8 +43,8 @@ def main():
     targets = set()
 
     # collect targets
-    file = open("Makefile", "r")
-    for line in file:
+    makefile = open("Makefile", "r")
+    for line in makefile:
         line = line.rstrip()
         if not line or line[0] in ". \t@$#":
             continue
@@ -59,7 +59,7 @@ def main():
             continue
 
         targets.add(line)
-    file.close()
+    makefile.close()
 
     # remove cmake targets
     bad = set([