From 555d03317bbfca3e525fe4c973911869823b8b85 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 30 2017 09:36:11 +0000 Subject: Retrieve the gitolite folder from the configuration file Instead of relying on a variable that was never defined. --- diff --git a/pagure/lib/git.py b/pagure/lib/git.py index 8a9b118..bbb22d8 100644 --- a/pagure/lib/git.py +++ b/pagure/lib/git.py @@ -175,7 +175,7 @@ def generate_gitolite_acls(): shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, - cwd=gitolite_folder + cwd=pagure.APP.config['GITOLITE_HOME'] )