diff options
author | Martin Basti <martin.basti@gmail.com> | 2016-06-27 01:15:31 +0200 |
---|---|---|
committer | Martin Basti <martin.basti@gmail.com> | 2016-06-27 01:43:22 +0200 |
commit | d90346c6ce43a48e9540fa16d60377cc852586aa (patch) | |
tree | 17ede6fde9d6f5e9b8cc5aa5305c41aa929dd5f1 /dns/opcode.py | |
parent | 1e7ba5b5a5f4b43e4306f0e743a7b772c59f2ce6 (diff) | |
download | dnspython-d90346c6ce43a48e9540fa16d60377cc852586aa.tar.gz |
Pylint: enable superfluous-parens check
Diffstat (limited to 'dns/opcode.py')
-rw-r--r-- | dns/opcode.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dns/opcode.py b/dns/opcode.py index 2b2918e..70d704f 100644 --- a/dns/opcode.py +++ b/dns/opcode.py @@ -104,6 +104,4 @@ def is_update(flags): @rtype: bool """ - if (from_flags(flags) == UPDATE): - return True - return False + return from_flags(flags) == UPDATE |