Space-delimited.

This commit is contained in:
Ralph Bean 2016-05-16 12:58:58 -04:00 committed by Mike McLean
parent bed7da59b2
commit 8bdf5a3752
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ LibPath = /usr/share/koji-web/lib
# Defaults to True
LiteralFooter = True
# This can be a comma-delimited list of the numeric IDs of users that you want
# This can be a space-delimited list of the numeric IDs of users that you want
# to hide from tasks listed on the front page. You might want to, for instance,
# hide the activity of an account used for continuous integration.
#HiddenUsers = 5372,1234
#HiddenUsers = 5372 1234

View file

@ -285,7 +285,7 @@ def index(environ, packageOrder='package_name', packageStart=None):
taskOpts['owner'] = user['id']
if opts.get('HiddenUsers'):
taskOpts['not_owner'] = [
int(userid.strip()) for userid in opts['HiddenUsers'].split()
int(userid) for userid in opts['HiddenUsers'].split()
]
values['tasks'] = server.listTasks(
opts=taskOpts,