Simplified syntax for joining journal names with new lines.

This commit is contained in:
Josh Tan 2014-02-23 22:46:28 -06:00
parent 3450967eb3
commit bb3778a099

View file

@ -92,7 +92,7 @@ def list_journals(config):
"""List the journals specified in the configuration file"""
sep = "\n"
journal_list = sep.join(j for j in config['journals'])
journal_list = sep.join(config['journals'])
return journal_list