mirror of https://github.com/zulip/zulip.git
pep8: Fix E222 violations.
This commit is contained in:
parent
46b7d54b3e
commit
e4091c6413
|
@ -84,7 +84,7 @@ def check_pep8(files):
|
|||
ignored_rules = [
|
||||
'E402', 'E501', 'W503', 'E711', 'E201', 'E203', 'E202', 'E128', 'E226', 'E124', 'E125',
|
||||
'E126', 'E127', 'E121', 'E122', 'E123', 'E266', 'E265', 'E261', 'E221', 'E303',
|
||||
'E241', 'E712', 'E702', 'E401', 'E115', 'E114', 'E111', 'E222', 'E731', 'E302', 'E129',
|
||||
'E241', 'E712', 'E702', 'E401', 'E115', 'E114', 'E111', 'E731', 'E302', 'E129',
|
||||
'E741', 'E714', 'W391', 'E211', 'E713', 'E502', 'E131', 'E305', 'E251', 'E306', 'E231',
|
||||
]
|
||||
pep8 = subprocess.Popen(
|
||||
|
|
|
@ -44,7 +44,7 @@ def email_browser_error(report):
|
|||
"href: %(href)s\n"
|
||||
"Server path: %(server_path)s\n"
|
||||
"Deployed version: %(version)s\n"
|
||||
% report)
|
||||
% (report))
|
||||
|
||||
more_info = report['more_info']
|
||||
if more_info is not None:
|
||||
|
@ -78,7 +78,7 @@ def notify_server_error(report):
|
|||
|
||||
def zulip_server_error(report):
|
||||
# type: (Dict[str, Any]) -> None
|
||||
subject = '%(node)s: %(message)s' % report
|
||||
subject = '%(node)s: %(message)s' % (report)
|
||||
stack_trace = report['stack_trace'] or "No stack trace available"
|
||||
|
||||
user_info = user_info_str(report)
|
||||
|
|
Loading…
Reference in New Issue