| |
@@ -29,7 +29,7 @@
|
| |
# read configuration only once
|
| |
if config is None:
|
| |
config = koji.read_config_files([(CONFIG_FILE, True)])
|
| |
- allowed_methods = config.get('permissions', 'allowed_methods').split()
|
| |
+ allowed_methods = config.get('permissions', 'allowed_methods').split(',')
|
| |
if len(allowed_methods) == 1 and allowed_methods[0] == '*':
|
| |
allowed_methods = '*'
|
| |
|
| |
Example config says, that comma is allowed, but it was not true. I've made it more in line with rest of configs (allowing only comma)
Fixes: https://pagure.io/koji/issue/1744