pep8: Fix many rule E128 violations.
[Tweaked by tabbott to adjust some approaches used in wrapping]
This commit is contained in:
parent
47488217b1
commit
cc5444a725
|
@ -602,7 +602,7 @@ Feedback button or at support@zulipchat.com."""
|
||||||
|
|
||||||
wrapper = textwrap.TextWrapper(break_long_words=False, break_on_hyphens=False)
|
wrapper = textwrap.TextWrapper(break_long_words=False, break_on_hyphens=False)
|
||||||
wrapped_content = "\n".join("\n".join(wrapper.wrap(line))
|
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"],
|
zwrite_args = ["zwrite", "-n", "-s", message["sender_full_name"],
|
||||||
"-F", "Zephyr error: See http://zephyr.1ts.org/wiki/df",
|
"-F", "Zephyr error: See http://zephyr.1ts.org/wiki/df",
|
||||||
|
|
|
@ -147,9 +147,9 @@ def elide_subject(subject):
|
||||||
|
|
||||||
def send_zulip(entry, feed_name):
|
def send_zulip(entry, feed_name):
|
||||||
content = "**[%s](%s)**\n%s\n%s" % (entry.title,
|
content = "**[%s](%s)**\n%s\n%s" % (entry.title,
|
||||||
entry.link,
|
entry.link,
|
||||||
strip_tags(entry.summary),
|
strip_tags(entry.summary),
|
||||||
entry.link)
|
entry.link)
|
||||||
message = {"type": "stream",
|
message = {"type": "stream",
|
||||||
"sender": opts.zulip_email,
|
"sender": opts.zulip_email,
|
||||||
"to": opts.stream,
|
"to": opts.stream,
|
||||||
|
|
Loading…
Reference in a new issue