From 8bdf5a3752f75e4548f663c2718ff48d308aafea Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: May 16 2016 17:44:09 +0000 Subject: Space-delimited. --- diff --git a/www/conf/web.conf b/www/conf/web.conf index f7dd34d..4069258 100644 --- a/www/conf/web.conf +++ b/www/conf/web.conf @@ -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 diff --git a/www/kojiweb/index.py b/www/kojiweb/index.py index 8d9b737..fb3907e 100644 --- a/www/kojiweb/index.py +++ b/www/kojiweb/index.py @@ -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,