Browse Source

elif trivial improvement

pull/932/head
Ross McFarland 3 years ago
parent
commit
5cb42d6d73
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      octodns/processor/filter.py

+ 1
- 2
octodns/processor/filter.py View File

@ -137,8 +137,7 @@ class NameAllowlistFilter(_NameBaseFilter):
name = record.name
if name in self.exact:
continue
if any(r.search(name) for r in self.regex):
elif any(r.search(name) for r in self.regex):
continue
zone.remove_record(record)


Loading…
Cancel
Save