Amend merge for pull request #1454

pull/1205/merge
sebres 2016-05-31 17:47:12 +02:00
commit b85347477f
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class Filter(JailThread):
if isinstance(value, bool):
value = {True: 'yes', False: 'no'}[value]
value = value.lower() # must be a string by now
if not (value in ('yes', 'no', 'warn')):
if not (value in ('yes', 'warn', 'no', 'raw')):
logSys.error("Incorrect value %r specified for usedns. "
"Using safe 'no'" % (value,))
value = 'no'