summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/validators.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-04-03 20:37:32 -0400
committerTim Graham <timograham@gmail.com>2016-04-04 17:14:26 -0400
commit2cd2d188516475ddf256e6267cd82c495fb5c430 (patch)
tree1a7c3c167c1576923c7c4f5544495face5bd7327 /django/contrib/postgres/validators.py
parentd356bb653f4d90ae9809e5a051791ded39010c38 (diff)
downloaddjango-2cd2d188516475ddf256e6267cd82c495fb5c430.tar.gz
Fixed W503 flake8 warnings.
Diffstat (limited to 'django/contrib/postgres/validators.py')
-rw-r--r--django/contrib/postgres/validators.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/django/contrib/postgres/validators.py b/django/contrib/postgres/validators.py
index 69ceeea8ba..fd3169c285 100644
--- a/django/contrib/postgres/validators.py
+++ b/django/contrib/postgres/validators.py
@@ -58,10 +58,10 @@ class KeysValidator(object):
def __eq__(self, other):
return (
- isinstance(other, self.__class__)
- and (self.keys == other.keys)
- and (self.messages == other.messages)
- and (self.strict == other.strict)
+ isinstance(other, self.__class__) and
+ self.keys == other.keys and
+ self.messages == other.messages and
+ self.strict == other.strict
)
def __ne__(self, other):