configd: suppress idna warnings, we already know the contributed idna patches where a bad idea (https://github.com/opnsense/core/pull/2327, https://github.com/opnsense/core/pull/3107)

since this is only a warning that it will unmodified content, we may as well silence the message. closes https://github.com/opnsense/core/issues/4086
This commit is contained in:
Ad Schellevis 2020-05-05 15:38:51 +02:00
parent c44bb60a01
commit 708afdfb96

View File

@ -72,7 +72,6 @@ class Template(object):
return tmp.decode()
except UnicodeError:
# return source when unable to decode
syslog.syslog(syslog.LOG_NOTICE, "encode idna: unable to decode %s, return source" % x)
return x
def list_module(self, module_name):