diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-04-25 08:46:59 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-04-25 08:46:59 -0400 |
commit | 148239de876a0c8d2fb53fd644ffaabc70540370 (patch) | |
tree | 07210e4910f4405fe23dbdf8ca91411c7f19d71f /src/sbin/bcfg2-info | |
parent | 14c6cfde0761e910b6c3c1924d51cf915ba96e9d (diff) | |
download | bcfg2-148239de876a0c8d2fb53fd644ffaabc70540370.tar.gz bcfg2-148239de876a0c8d2fb53fd644ffaabc70540370.tar.bz2 bcfg2-148239de876a0c8d2fb53fd644ffaabc70540370.zip |
fixed pylint/pep-8 tests
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-x | src/sbin/bcfg2-info | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 6008f8896..a6c3149bc 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -438,8 +438,7 @@ Bcfg2 client itself.""") automatch = self.setup.cfp.getboolean("properties", "automatch", default=False) pfile = self.plugins['Properties'].entries[pname] - if (not force and - not automatch and + if (not force and not automatch and pfile.xdata.get("automatch", "false").lower() != "true"): print("Automatch not enabled on %s" % pname) else: |