projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1c337
)
I don't think we need to clean up target if we don't even create it successfully.
author
Carl Hetherington
<cth@carlh.net>
Mon, 19 Sep 2022 21:55:54 +0000
(23:55 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 19 Sep 2022 21:55:54 +0000
(23:55 +0200)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 73ab3f42af213165982ceba88a528242d997b260..49589b7d7efcd51d5b1be4af8d7a85f39a3f0b13 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-1241,8
+1241,8
@@
def main():
if args.target is None:
raise Error('you must specify -t or --target')
+ target = target_factory(args)
try:
- target = target_factory(args)
target.build(args.project, args.checkout, get_command_line_options(args))
finally:
if not args.keep: