From bea9d260397189497c5c3e7a5a800a3e881e539a Mon Sep 17 00:00:00 2001 From: Konstantin Date: Wed, 25 Feb 2015 03:36:06 +0300 Subject: [PATCH] pkgutil.py syntax fix --- packaging/os/pkgutil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/os/pkgutil.py b/packaging/os/pkgutil.py index 0204bbae987..635617b4efe 100644 --- a/packaging/os/pkgutil.py +++ b/packaging/os/pkgutil.py @@ -165,9 +165,9 @@ def main(): if rc is None: # pkgutil was not executed because the package was already present/absent result['changed'] = False - elif rc == 0 + elif rc == 0: result['changed'] = True - else + else: result['changed'] = False result['failed'] = True