cleanup: Move line breaks before binary operators.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
6f40bcf745
commit
17cf26aa1f
12 changed files with 152 additions and 77 deletions
|
@ -74,8 +74,10 @@ class ZulipPlugin(Component):
|
|||
`old_values` is a dictionary containing the previous values of the
|
||||
fields that have changed.
|
||||
"""
|
||||
if not (set(old_values.keys()).intersection(set(config.TRAC_NOTIFY_FIELDS)) or
|
||||
(comment and "comment" in set(config.TRAC_NOTIFY_FIELDS))):
|
||||
if not (
|
||||
set(old_values.keys()).intersection(set(config.TRAC_NOTIFY_FIELDS))
|
||||
or (comment and "comment" in set(config.TRAC_NOTIFY_FIELDS))
|
||||
):
|
||||
return
|
||||
|
||||
content = "%s updated %s" % (author, markdown_ticket_url(ticket))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue