From 7466622e6f40cf5af00d1ea7a48228013e386e9b Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Aug 08 2016 14:41:07 +0000 Subject: Patch some poor grammar. --- diff --git a/files/load_from_disk.py b/files/load_from_disk.py index 24f79d3..65ed17c 100644 --- a/files/load_from_disk.py +++ b/files/load_from_disk.py @@ -98,9 +98,9 @@ def main(folder, debug=False): first_part, _, second_part = name.partition('/') if second_part and first_part not in allowed_prefix: raise pagure.exceptions.PagureException( - 'The prefix of you project must be in the list of allowed ' - 'prefix set by the admins of this pagure instance, or the name ' - 'of a group that you are part of.' + 'The prefix of your project must be in the list of allowed ' + 'prefixes set by the admins of this pagure instance, or the name ' + 'of a group of which you are a member.' ) gitfolder = pagure.APP.config['GIT_FOLDER'] diff --git a/pagure/lib/__init__.py b/pagure/lib/__init__.py index c84d04b..b092f0a 100644 --- a/pagure/lib/__init__.py +++ b/pagure/lib/__init__.py @@ -995,9 +995,9 @@ def new_project(session, user, name, blacklist, allowed_prefix, first_part, _, second_part = name.partition('/') if second_part and first_part not in allowed_prefix: raise pagure.exceptions.PagureException( - 'The prefix of you project must be in the list of allowed ' - 'prefix set by the admins of this pagure instance, or the name ' - 'of a group that you are part of.' + 'The prefix of your project must be in the list of allowed ' + 'prefixes set by the admins of this pagure instance, or the name ' + 'of a group of which you are a member.' ) if len(second_part) == 40 and prevent_40_chars: