nagios / client / check_ipa_replication: 2to3 on the script.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
73a501a933
commit
0c85e1a2e1
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue