Fix incorrect reference to database file
This commit is contained in:
parent
318127d0a6
commit
383b6f80fe
@ -87,7 +87,7 @@ if __name__ == '__main__':
|
|||||||
cachedir = os.path.join('/var', 'cache', 'pacman', repo)
|
cachedir = os.path.join('/var', 'cache', 'pacman', repo)
|
||||||
# this assumes that the db file for the repo
|
# this assumes that the db file for the repo
|
||||||
# has the same name as that repo
|
# has the same name as that repo
|
||||||
db = os.path.join(cachedir, f"repo.{DB_EXT}")
|
db = os.path.join(cachedir, f"{repo}.{DB_EXT}")
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
stdout_handler.setLevel(logging.DEBUG)
|
stdout_handler.setLevel(logging.DEBUG)
|
||||||
|
@ -81,7 +81,7 @@ if __name__ == '__main__':
|
|||||||
cachedir = os.path.join('/var', 'cache', 'pacman', repo)
|
cachedir = os.path.join('/var', 'cache', 'pacman', repo)
|
||||||
# this assumes that the db file for the repo
|
# this assumes that the db file for the repo
|
||||||
# has the same name as that repo
|
# has the same name as that repo
|
||||||
db = os.path.join(cachedir, f"repo.{DB_EXT}")
|
db = os.path.join(cachedir, f"{repo}.{DB_EXT}")
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
stdout_handler.setLevel(logging.DEBUG)
|
stdout_handler.setLevel(logging.DEBUG)
|
||||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open("README.rst", "r") as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="packaging_scripts",
|
name="packaging_scripts",
|
||||||
version="1.0.1",
|
version="1.0.2",
|
||||||
author="Eric Russel Torres",
|
author="Eric Russel Torres",
|
||||||
author_email="erictorres4@protonmail.com",
|
author_email="erictorres4@protonmail.com",
|
||||||
description="A set of helpers for automating borg interaction",
|
description="A set of helpers for automating borg interaction",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user