ipa[server,replica,client]: pylint fixes

This commit is contained in:
Thomas Woerner
2019-07-17 18:54:20 +02:00
parent 3a4cb6a732
commit de9d8b50cf
14 changed files with 28 additions and 24 deletions

View File

@@ -139,7 +139,7 @@ def main():
logger.info("Skipping chrony configuration")
else:
ntp_srv_servers = [ ]
ntp_srv_servers = []
if not options.on_master and options.conf_ntp:
# Attempt to sync time with IPA server.
# If we're skipping NTP configuration, we also skip the time sync here.
@@ -176,5 +176,6 @@ def main():
# Done
module.exit_json(changed=synced_ntp)
if __name__ == '__main__':
main()