mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-01-01 11:32:04 +00:00
vcs: allow the value to be None
This is a better fix for https://github.com/archlinuxcn/lilac/pull/91.
This commit is contained in:
parent
d0ee359209
commit
c966e6faf8
@ -27,7 +27,7 @@ def _parse_oldver(oldver):
|
||||
return PROT_VER, count, ver
|
||||
|
||||
async def get_version(name, conf, **kwargs):
|
||||
vcs = conf['vcs']
|
||||
vcs = conf['vcs'] or ''
|
||||
use_max_tag = conf.getboolean('use_max_tag', False)
|
||||
ignored_tags = conf.get("ignored_tags", "").split()
|
||||
oldver = conf.get('oldver')
|
||||
|
Loading…
Reference in New Issue
Block a user