From 165c3e6fc9a72532fe4af2ce75ac33bbc1f5d87c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 18 2016 09:18:04 +0000 Subject: Adjust the error returned to the user when blocking group creation --- diff --git a/pagure/lib/__init__.py b/pagure/lib/__init__.py index eba41bd..c5ef2c6 100644 --- a/pagure/lib/__init__.py +++ b/pagure/lib/__init__.py @@ -2461,7 +2461,8 @@ def add_group(session, group_name, group_type, user, is_admin, blacklist): if group_name in blacklist: raise pagure.exceptions.PagureException( - 'The group names are forbidden: %s' % blacklist) + 'This group name has been blacklisted, ' + 'please choose another one') group_types = ['user'] if is_admin: