Fix readlinks import and rename inotify read links db

This commit is contained in:
Jelle van der Waa 2021-04-28 23:16:57 +02:00
parent fdf5e3b6fc
commit c6d91ecbd4
No known key found for this signature in database
GPG Key ID: C06086337C50773E
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ def handle(self, filename=None, **options):
elif v >= 2:
logger.level = logging.DEBUG
return read_linksdb(filename)
return read_links(filename)
def get_pkginfo(pkgnamever):
@ -52,7 +52,7 @@ def get_pkginfo(pkgnamever):
return pkgname, epoch, pkgver, pkgrel
def read_linksdb(repopath):
def read_links(repopath):
logger.info("Starting linksdb parsing")
if not os.path.exists(repopath):
logger.error("Could not read file %s", repopath)