Fix readlinks import and rename inotify read links db
This commit is contained in:
parent
fdf5e3b6fc
commit
c6d91ecbd4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user