| |
@@ -52,7 +52,7 @@
|
| |
:param author: filters the author of the requests
|
| |
:return:
|
| |
"""
|
| |
- PAGURE = libpagure.Pagure(pagure_token=api_token, repo_to=project)
|
| |
+ PAGURE = libpagure.Pagure(pagure_token=api_token, pagure_repository=project)
|
| |
try:
|
| |
prs = PAGURE.list_requests(status=status, assignee=assignee, author=author)
|
| |
except Exception:
|
| |
@@ -89,7 +89,7 @@
|
| |
since=since,
|
| |
)
|
| |
except exceptions.APIError:
|
| |
- pagure_noauth = libpagure.Pagure(repo_to=project)
|
| |
+ pagure_noauth = libpagure.Pagure(pagure_repository=project)
|
| |
issues = pagure_noauth.list_issues(
|
| |
status=status,
|
| |
tags=tags,
|
| |
@@ -148,7 +148,7 @@
|
| |
repo_to = utils.get_dict_from_str(repo_to)
|
| |
PAGURE = libpagure.Pagure(
|
| |
pagure_token=api_token,
|
| |
- repo_to=repo_to["repo"],
|
| |
+ pagure_repository=repo_to["repo"],
|
| |
fork_username=repo_to["username"],
|
| |
namespace=repo_to["namespace"],
|
| |
instance_url=instance_url,
|
| |
pagure_repository
renamed back from 'repo_to'