From 73f4b5b05a2136412e2d44407d0695f9bb55614c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 07 2017 13:00:03 +0000 Subject: Fix wording in the documentation (doc-block and comment) --- diff --git a/pagure/lib/git.py b/pagure/lib/git.py index 5038898..6694901 100644 --- a/pagure/lib/git.py +++ b/pagure/lib/git.py @@ -104,7 +104,7 @@ def write_gitolite_acls(session, configfile): for repos in ['repos', 'docs/', 'tickets/', 'requests/']: if repos == 'repos': - # Do not grand access to project enforcing the PR model + # Do not grant access to project enforcing the PR model if pr_only and not project.is_fork: continue repos = '' diff --git a/tests/test_pagure_lib_git.py b/tests/test_pagure_lib_git.py index 788ce7e..f1acb26 100644 --- a/tests/test_pagure_lib_git.py +++ b/tests/test_pagure_lib_git.py @@ -1057,7 +1057,7 @@ repo requests/forks/pingou/test3 def test_write_gitolite_global_pr_only(self): """ Test the write_gitolite_acls function of pagure.lib.git. - when the project enforces the PR approach. + when the pagure instance enforces the PR approach. """ tests.create_projects(self.session)