From 878461bb6dcd2c70736da9f7417e2a930af13a2b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 29 Jul 2018 12:03:16 +0300 Subject: Fix: call to report --- ick2/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ick2') diff --git a/ick2/actions.py b/ick2/actions.py index b21741e..f174fca 100644 --- a/ick2/actions.py +++ b/ick2/actions.py @@ -489,7 +489,7 @@ class GitMirrorAction(Action): # pragma: no cover def git_mirror(self, env, sources, mirrors): if not os.path.exists(mirrors): - env.report(None, 'mkdir {}', mirrors) + env.report(None, 'mkdir {}'.format(mirrors)) os.mkdir(mirrors) checked = self.check_sources(sources) @@ -527,7 +527,7 @@ class GitMirrorAction(Action): # pragma: no cover cwd = mirrors os.mkdir(dirname) - env.report(None, 'Running: {}\n'.format(' '.join(argv))) + env.report(None, 'Running: {} in {}\n'.format(' '.argv, cwd)) return env.host_runcmd(argv, cwd=cwd) -- cgit v1.2.1