pep8: Add compliance with rule E261 to zerver/views/realm.py.

This commit is contained in:
Aditya Bansal 2017-05-18 01:43:14 +05:30
parent db3c05002a
commit 5cdfd899dc
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def update_realm(request, user_profile, name=REQ(validator=check_string, default
# further by some more advanced usage of the # further by some more advanced usage of the
# `REQ/has_request_variables` extraction. # `REQ/has_request_variables` extraction.
req_vars = {k: v for k, v in list(locals().items()) if k in realm.property_types} req_vars = {k: v for k, v in list(locals().items()) if k in realm.property_types}
data = {} # type: Dict[str, Any] data = {} # type: Dict[str, Any]
for k, v in list(req_vars.items()): for k, v in list(req_vars.items()):
if v is not None and getattr(realm, k) != v: if v is not None and getattr(realm, k) != v: