From b8cacbb15c913bd2b0d35cc51b1672e0f755e217 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 25 2018 09:10:51 +0000 Subject: Fix updating a remote PR Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/lib/tasks.py b/pagure/lib/tasks.py index 351af37..26fcf55 100644 --- a/pagure/lib/tasks.py +++ b/pagure/lib/tasks.py @@ -650,7 +650,7 @@ def refresh_remote_pr(self, session, name, namespace, user, requestid): 'refreshing remote pull-request: %s/#%s', request.project.fullname, request.id) - clonepath = pagure.utils.utils.get_remote_repo_path( + clonepath = pagure.utils.get_remote_repo_path( request.remote_git, request.branch_from) repo = pagure.lib.repo.PagureRepo(clonepath)