Minor bug fix to not pass None to db_modify()

This commit is contained in:
Eric Torres 2019-02-23 14:38:10 -08:00
parent 80c567b7fb
commit 318127d0a6
3 changed files with 11 additions and 3 deletions

View File

@ -78,6 +78,10 @@ if __name__ == '__main__':
args = parser.parse_args()
repo = args.repository
pkgs = args.packages
if args.opts is None:
opts = []
else:
opts = args.opts
cachedir = os.path.join('/var', 'cache', 'pacman', repo)

View File

@ -72,6 +72,10 @@ if __name__ == '__main__':
args = parser.parse_args()
repo = args.repository
pkgs = args.packages
if args.opts is None:
opts = []
else:
opts = args.opts
cachedir = os.path.join('/var', 'cache', 'pacman', repo)

View File

@ -5,7 +5,7 @@ with open("README.rst", "r") as fh:
setuptools.setup(
name="packaging_scripts",
version="1.0",
version="1.0.1",
author="Eric Russel Torres",
author_email="erictorres4@protonmail.com",
description="A set of helpers for automating borg interaction",