pkgutil.py syntax fix

This commit is contained in:
Konstantin 2015-02-25 03:36:06 +03:00 committed by Matt Clay
parent d4b996203a
commit 4602ca7bf4

View file

@ -165,9 +165,9 @@ def main():
if rc is None: if rc is None:
# pkgutil was not executed because the package was already present/absent # pkgutil was not executed because the package was already present/absent
result['changed'] = False result['changed'] = False
elif rc == 0 elif rc == 0:
result['changed'] = True result['changed'] = True
else else:
result['changed'] = False result['changed'] = False
result['failed'] = True result['failed'] = True