Partially apply Python 3 libmodernize.fixes.fix_dict_six.
Refer to #256
This commit is contained in:
parent
7ccd60584a
commit
5e3013d2c2
3 changed files with 4 additions and 4 deletions
|
@ -804,9 +804,9 @@ def add_zulip_subscriptions(verbose):
|
|||
unauthorized = res.get("unauthorized")
|
||||
if verbose:
|
||||
if already is not None and len(already) > 0:
|
||||
logger.info("\nAlready subscribed to: %s" % (", ".join(already.values()[0]),))
|
||||
logger.info("\nAlready subscribed to: %s" % (", ".join(list(already.values())[0]),))
|
||||
if new is not None and len(new) > 0:
|
||||
logger.info("\nSuccessfully subscribed to: %s" % (", ".join(new.values()[0]),))
|
||||
logger.info("\nSuccessfully subscribed to: %s" % (", ".join(list(new.values())[0]),))
|
||||
if unauthorized is not None and len(unauthorized) > 0:
|
||||
logger.info("\n" + "\n".join(textwrap.wrap("""\
|
||||
The following streams you have NOT been subscribed to,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue