# HG changeset patch # User Goffi # Date 1556908888 -7200 # Node ID 0bafdbda7f5f2401ed3f6b26c84c9ce44828d2a3 # Parent 47df940738a783a2f868277fc6b736a6abd0b072 plugin file sharing management: filter out empty values in allowed_jids diff -r 47df940738a7 -r 0bafdbda7f5f sat/plugins/plugin_comp_file_sharing_management.py --- a/sat/plugins/plugin_comp_file_sharing_management.py Fri May 03 13:06:47 2019 +0200 +++ b/sat/plugins/plugin_comp_file_sharing_management.py Fri May 03 20:41:28 2019 +0200 @@ -275,7 +275,8 @@ allowed_jids = None else: try: - allowed_jids = [jid.JID(v.strip()) for v in read_allowed.values] + allowed_jids = [jid.JID(v.strip()) for v in read_allowed.values + if v.strip()] except RuntimeError as e: log.warning(_(u"Can't use read_allowed values: {reason}").format( reason=e))