pep8: Fix many rule E128 violations.

[Tweaked by tabbott to adjust some approaches used in wrapping]
This commit is contained in:
nikolay 2016-12-03 01:04:17 +02:00 committed by Tim Abbott
parent 47488217b1
commit cc5444a725
2 changed files with 4 additions and 4 deletions

View file

@ -602,7 +602,7 @@ Feedback button or at support@zulipchat.com."""
wrapper = textwrap.TextWrapper(break_long_words=False, break_on_hyphens=False)
wrapped_content = "\n".join("\n".join(wrapper.wrap(line))
for line in message["content"].replace("@", "@@").split("\n"))
for line in message["content"].replace("@", "@@").split("\n"))
zwrite_args = ["zwrite", "-n", "-s", message["sender_full_name"],
"-F", "Zephyr error: See http://zephyr.1ts.org/wiki/df",

View file

@ -147,9 +147,9 @@ def elide_subject(subject):
def send_zulip(entry, feed_name):
content = "**[%s](%s)**\n%s\n%s" % (entry.title,
entry.link,
strip_tags(entry.summary),
entry.link)
entry.link,
strip_tags(entry.summary),
entry.link)
message = {"type": "stream",
"sender": opts.zulip_email,
"to": opts.stream,