diff options
author | Tim Graham <timograham@gmail.com> | 2016-04-03 20:37:32 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-04-04 17:14:26 -0400 |
commit | 2cd2d188516475ddf256e6267cd82c495fb5c430 (patch) | |
tree | 1a7c3c167c1576923c7c4f5544495face5bd7327 /django/contrib/postgres/validators.py | |
parent | d356bb653f4d90ae9809e5a051791ded39010c38 (diff) | |
download | django-2cd2d188516475ddf256e6267cd82c495fb5c430.tar.gz |
Fixed W503 flake8 warnings.
Diffstat (limited to 'django/contrib/postgres/validators.py')
-rw-r--r-- | django/contrib/postgres/validators.py | 8 |
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): |