diff --git a/git_cl.py b/git_cl.py index 569408c23..58d362e46 100755 --- a/git_cl.py +++ b/git_cl.py @@ -5973,7 +5973,7 @@ def CMDformat(parser, args): cmd = [os.path.join(tool_dir, 'pretty_print.py'), '--non-interactive'] if opts.dry_run or opts.diff: cmd.append('--diff') - stdout = RunCommand(cmd, cwd=top_dir) + stdout = RunCommand(cmd, cwd=top_dir) if opts.diff: sys.stdout.write(stdout) if opts.dry_run and stdout: