diff options
| author | Bob Halley <halley@dnspython.org> | 2022-10-02 09:40:42 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2022-10-02 09:40:42 -0700 |
| commit | 4d0592a71c2d9c03f267617fe9dd63d13eda3821 (patch) | |
| tree | 51da3a6697197b5d7429aef3566930739fbee503 /dns | |
| parent | db00e88aa09b492e614b2603a25a2121b648c4b7 (diff) | |
| download | dnspython-4d0592a71c2d9c03f267617fe9dd63d13eda3821.tar.gz | |
lint
Diffstat (limited to 'dns')
| -rw-r--r-- | dns/zonefile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/zonefile.py b/dns/zonefile.py index a17ebff..a04ccf3 100644 --- a/dns/zonefile.py +++ b/dns/zonefile.py @@ -475,7 +475,7 @@ class Reader: # Note that we only run directive processing code if at least # one directive is allowed in order to be backwards compatible c = token.value.upper() - if not c in self.allowed_directives: + if c not in self.allowed_directives: raise dns.exception.SyntaxError( f"zone file directive '{c}' is not allowed" ) |
