pep8: Fix E129 violations

This commit is contained in:
bulat22101 2016-12-03 17:19:09 +00:00 committed by Tim Abbott
parent dc48a41efe
commit 47488217b1
4 changed files with 9 additions and 9 deletions

View file

@ -100,7 +100,7 @@ def unwrap_lines(body):
for line in lines[1:]:
line = line.rstrip()
if (re.match(r'^\W', line, flags=re.UNICODE)
and re.match(r'^\W', previous_line, flags=re.UNICODE)):
and re.match(r'^\W', previous_line, flags=re.UNICODE)):
result += previous_line + "\n"
elif (line == "" or
previous_line == "" or
@ -205,7 +205,7 @@ def update_subscriptions():
for stream in public_streams:
zephyr_class = stream.encode("utf-8")
if (options.shard is not None and
not hashlib.sha1(zephyr_class).hexdigest().startswith(options.shard)):
not hashlib.sha1(zephyr_class).hexdigest().startswith(options.shard)):
# This stream is being handled by a different zephyr_mirror job.
continue
if zephyr_class in current_zephyr_subs:
@ -369,7 +369,7 @@ def process_notice(notice, log):
logger.debug("Skipping message we got from Zulip!")
return
if (zephyr_class == "mail" and notice.instance.lower() == "inbox" and is_personal and
not options.forward_mail_zephyrs):
not options.forward_mail_zephyrs):
# Only forward mail zephyrs if forwarding them is enabled.
return