Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.

Commit

Permalink
Issue 3952 - Fix whitespaces in build.py for compliance with PEP-8
Browse files Browse the repository at this point in the history
  • Loading branch information
snoack committed Apr 18, 2016
1 parent a8da256 commit 158874e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.py
@@ -1,16 +1,18 @@
#!/usr/bin/env python
# coding: utf-8

import os, sys, subprocess
import os
import sys
import subprocess

BASE_DIR = os.path.dirname(os.path.abspath(__file__))
DEPENDENCY_SCRIPT = os.path.join(BASE_DIR, "ensure_dependencies.py")

try:
subprocess.check_call([sys.executable, DEPENDENCY_SCRIPT, BASE_DIR])
subprocess.check_call([sys.executable, DEPENDENCY_SCRIPT, BASE_DIR])
except subprocess.CalledProcessError as e:
print >>sys.stderr, e
print >>sys.stderr, "Failed to ensure dependencies being up-to-date!"
print >>sys.stderr, e
print >>sys.stderr, "Failed to ensure dependencies being up-to-date!"

import buildtools.build
buildtools.build.processArgs(BASE_DIR, sys.argv)

0 comments on commit 158874e

Please sign in to comment.