pep8 update & some minor cmake edits.
This commit is contained in:
@@ -27,7 +27,6 @@ __all__ = (
|
||||
)
|
||||
|
||||
import os
|
||||
import sys
|
||||
from os.path import join, dirname, normpath, abspath
|
||||
|
||||
SOURCE_DIR = join(dirname(__file__), "..", "..")
|
||||
@@ -35,11 +34,6 @@ SOURCE_DIR = normpath(SOURCE_DIR)
|
||||
SOURCE_DIR = abspath(SOURCE_DIR)
|
||||
|
||||
|
||||
def is_c_header(filename):
|
||||
ext = os.path.splitext(filename)[1]
|
||||
return (ext in (".h", ".hpp", ".hxx"))
|
||||
|
||||
|
||||
def is_c_header(filename):
|
||||
ext = os.path.splitext(filename)[1]
|
||||
return (ext in (".h", ".hpp", ".hxx"))
|
||||
@@ -79,6 +73,7 @@ def do_ignore(filepath, ignore_prefix_list):
|
||||
|
||||
def makefile_log():
|
||||
import subprocess
|
||||
import time
|
||||
# Check blender is not 2.5x until it supports playback again
|
||||
print("running make with --dry-run ...")
|
||||
process = subprocess.Popen(["make", "--always-make", "--dry-run", "--keep-going", "VERBOSE=1"],
|
||||
|
Reference in New Issue
Block a user