Cleaning up some pep8 issues in the pkgutil module

This commit is contained in:
James Cammarata 2013-08-22 20:21:02 -05:00
parent fb23c53e3d
commit 0caaa023e2

View file

@ -148,11 +148,11 @@ def main():
(rc, out, err) = package_install(module, state, name, site)
else:
if not package_latest(module, name, site):
if module.check_mode:
module.exit_json(changed=True)
(rc, out, err) = package_upgrade(module, name, site)
if len(out) > 75:
out = out[:75] + '...'
if module.check_mode:
module.exit_json(changed=True)
(rc, out, err) = package_upgrade(module, name, site)
if len(out) > 75:
out = out[:75] + '...'
elif state == 'absent':
if package_installed(module, name):