From 680dba86bce1dd88660aa1f139c1f18414c5a1dd Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Oct 07 2018 11:30:57 +0000 Subject: Instantiate the git auth backend class returned Signed-off-by: Patrick Uiterwijk --- diff --git a/pagure/lib/git_auth.py b/pagure/lib/git_auth.py index be34834..4666304 100644 --- a/pagure/lib/git_auth.py +++ b/pagure/lib/git_auth.py @@ -57,7 +57,7 @@ def get_git_auth_helper(backend=None): else: cls = classes[backend].load() _log.debug("Returning helper %r from backend key %r" % (cls, backend)) - return cls + return cls() class GitAuthHelper(with_metaclass(abc.ABCMeta, object)):