From 0c85e1a2e1f7d95998d35efeee0aee2e74458dc4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 5 Oct 2020 16:59:22 -0700 Subject: [PATCH] nagios / client / check_ipa_replication: 2to3 on the script. Signed-off-by: Kevin Fenzi --- roles/nagios_client/files/scripts/check_ipa_replication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nagios_client/files/scripts/check_ipa_replication b/roles/nagios_client/files/scripts/check_ipa_replication index 96ff469cf2..5d82c1a0d2 100644 --- a/roles/nagios_client/files/scripts/check_ipa_replication +++ b/roles/nagios_client/files/scripts/check_ipa_replication @@ -39,7 +39,7 @@ try: ldap.SCOPE_SUBTREE, '(objectclass=nsds5replicationagreement)', ['nsDS5ReplicaHost', 'nsds5replicaLastUpdateStatus']) -except Exception, e: +except Exception as e: plugin.status(critical) plugin.add_summary("Unable to initialize ldap connection: %s" % (e)) plugin.exit()