Merge pull request #46 from heroku-python/allow-no-override

update so override_path checks for None
This commit is contained in:
Casey
2019-04-03 11:36:11 -07:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ from .models import Formula
from .utils import print_stderr
def build(formula, name):
def build(formula, name=None):
f = Formula(path=formula, override_path=name)
try:
+1 -1
View File
@@ -137,7 +137,7 @@ class Formula(object):
# Execute the formula script.
args = ["/usr/bin/env", "bash", "--", self.full_path, self.build_path]
if self.override_path:
if self.override_path != None:
args.append(self.override_path)
p = process(args, cwd=cwd_path)
+1 -1
View File
@@ -10,7 +10,7 @@ deps = [
setup(
name='bob-builder',
version='0.0.16',
version='0.0.17',
install_requires=deps,
description='Binary Build Toolkit.',
# long_description='Meh.',/