Wrap some lines with length greater than 120.

With some tweaks by tabbott.
This commit is contained in:
Taranjeet 2016-07-02 23:23:19 +05:30 committed by Tim Abbott
parent d198eedbcd
commit 6034ae7b9a
4 changed files with 17 additions and 10 deletions

View file

@ -381,7 +381,8 @@ option does not affect login credentials.'''.replace("\n", " "))
config.readfp(f, config_file)
except IOError:
pass
for option in ("jid", "jabber_password", "conference_domain", "mode", "zulip_email_suffix", "jabber_server_address", "jabber_server_port"):
for option in ("jid", "jabber_password", "conference_domain", "mode", "zulip_email_suffix",
"jabber_server_address", "jabber_server_port"):
if (getattr(options, option) is None
and config.has_option("jabber_mirror", option)):
setattr(options, option, config.get("jabber_mirror", option))