shut up man, i'm getting SO MANY cron emails about this
This commit is contained in:
parent
b2848970c3
commit
289c2711b8
4
ldap/loglevel.py
Normal file
4
ldap/loglevel.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
# https://www.openldap.org/doc/admin24/slapdconfig.html#loglevel%20%3Clevel%3E
|
||||||
|
# https://www.zytrax.com/books/ldap/ch6/#loglevel
|
@ -194,8 +194,8 @@ class Updater(object):
|
|||||||
rrset = records.get(t)
|
rrset = records.get(t)
|
||||||
if not ip:
|
if not ip:
|
||||||
e = 'IPv{0} disabled; skipping'.format(v)
|
e = 'IPv{0} disabled; skipping'.format(v)
|
||||||
warnings.warn(e)
|
|
||||||
if is_tty:
|
if is_tty:
|
||||||
|
warnings.warn(e)
|
||||||
logger.warning(e)
|
logger.warning(e)
|
||||||
continue
|
continue
|
||||||
if rrset and ip in rrset:
|
if rrset and ip in rrset:
|
||||||
|
Loading…
Reference in New Issue
Block a user