projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f074f5
)
Hack: add defaults to options before passing to 'package'
author
Carl Hetherington
<cth@carlh.net>
Mon, 6 Apr 2020 15:05:58 +0000
(17:05 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 6 Apr 2020 15:05:58 +0000
(17:05 +0200)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 6925645b265d6eb69dad18f87d4d32870f1805f5..8f8cb0e6b53e77a1410ee5d20e7507b1e24d425a 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-454,6
+454,7
@@
class Target(object):
def package(self, project, checkout, output_dir, options):
tree = self.build(project, checkout, options)
+ tree.add_defaults(options)
if len(inspect.getargspec(tree.cscript['package']).args) == 3:
packages = tree.call('package', tree.version, options)
else: