summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-12-03 21:31:40 +0000
committerCarl Hetherington <cth@carlh.net>2013-12-03 21:31:40 +0000
commit7b17db6d396081942829bc356ed9c9e93d9cb674 (patch)
tree955fd0cbf35df7227342199c181bd1489d9170ab
parenta427425204d25f1eb815e0b6dbc8decc225039f4 (diff)
Fix calls to cleanup().
-rwxr-xr-xcdist4
1 files changed, 2 insertions, 2 deletions
diff --git a/cdist b/cdist
index fcd20c6..253ed7c 100755
--- a/cdist
+++ b/cdist
@@ -785,11 +785,11 @@ elif args.command == 'test':
target.test(project)
except Error as e:
if target is not None:
- target.cleanup(project)
+ target.cleanup()
raise
if target is not None:
- target.cleanup(project)
+ target.cleanup()
elif args.command == 'shell':
if args.target is None: