pip module should call exit_json for absent as well (indentation error)

pull/18777/head
Matt Martz 9 years ago committed by Matt Clay
parent fe22ee9423
commit b4bab770f6

@ -426,9 +426,9 @@ def main():
out_freeze_after = module.run_command(freeze_cmd, cwd=chdir)[1]
changed = out_freeze_before != out_freeze_after
module.exit_json(changed=changed, cmd=cmd, name=name, version=version,
state=state, requirements=requirements, virtualenv=env,
stdout=out, stderr=err)
module.exit_json(changed=changed, cmd=cmd, name=name, version=version,
state=state, requirements=requirements, virtualenv=env,
stdout=out, stderr=err)
finally:
if old_umask != None:
os.umask(old_umask)

Loading…
Cancel
Save