summaryrefslogtreecommitdiff
path: root/net/dns/linode/ddns.py
diff options
context:
space:
mode:
authorbrent s <bts@square-r00t.net>2020-05-14 12:52:25 -0400
committerbrent s <bts@square-r00t.net>2020-05-14 12:52:25 -0400
commit289c2711b8aba2a455d69de0b2ac79970fab89b5 (patch)
tree71c622c9985ceafb3ad29a84cf77816a7c3363d1 /net/dns/linode/ddns.py
parentb2848970c327288ed61415b18f1cb30cf766a7a2 (diff)
downloadOpTools-289c2711b8aba2a455d69de0b2ac79970fab89b5.tar.xz
shut up man, i'm getting SO MANY cron emails about this
Diffstat (limited to 'net/dns/linode/ddns.py')
-rwxr-xr-xnet/dns/linode/ddns.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dns/linode/ddns.py b/net/dns/linode/ddns.py
index 5b15f90..798755a 100755
--- a/net/dns/linode/ddns.py
+++ b/net/dns/linode/ddns.py
@@ -194,9 +194,9 @@ class Updater(object):
rrset = records.get(t)
if not ip:
e = 'IPv{0} disabled; skipping'.format(v)
- warnings.warn(e)
if is_tty:
- logger.warning(e)
+ warnings.warn(e)
+ logger.warning(e)
continue
if rrset and ip in rrset:
e = 'Skipping adding {0} for {1}; already exists in DNS'.format(ip, fqdn)