Fine tunes

This commit is contained in:
Felix Yan 2020-09-01 18:13:56 +08:00
parent a7da4207ae
commit 7f64ffa12a
No known key found for this signature in database
GPG Key ID: 786C63F330D7CB92
2 changed files with 3 additions and 4 deletions

View File

@ -648,6 +648,8 @@ pagure
host
Hostname of alternative instance like src.fedoraproject.org.
This source returns tags and supports `list options`_.
Manually updating
-----------------
::

View File

@ -13,10 +13,7 @@ PAGURE_URL = 'https://%s/api/0/%s/git/tags'
logger = structlog.get_logger(logger_name=__name__)
async def get_version(name, conf, **kwargs):
return await get_version_real(name, conf, **kwargs)
async def get_version_real(
async def get_version(
name: str, conf: Entry, *,
cache: AsyncCache, keymanager: KeyManager,
**kwargs,