summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-07 13:03:35 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-07 13:03:35 +0000
commit9cb90be9f3b89e0a4448f936802a86eb17b4b98e (patch)
treedb0bda0d955fc6fe285c374347ccde136543578c
parent7b17db6d396081942829bc356ed9c9e93d9cb674 (diff)
Always call build with options parameter.
-rwxr-xr-xcdist5
1 files changed, 1 insertions, 4 deletions
diff --git a/cdist b/cdist
index 253ed7c..15b5a81 100755
--- a/cdist
+++ b/cdist
@@ -234,10 +234,7 @@ class Target(object):
os.chdir(cwd)
def build(self, project, options=None):
- if options is not None:
- project.cscript['build'](self, options)
- else:
- project.cscript['build'](self)
+ project.cscript['build'](self, options)
def package(self, project):
project.checkout(self)