From 402e65968e8101fe9bb87aeb82fa580c65e64b72 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 16 Sep 2022 20:53:15 +0300 Subject: config: per-repo configuration support Resolves: https://github.com/pkgcore/pkgdev/issues/89 Signed-off-by: Arthur Zamarin --- src/pkgdev/scripts/pkgdev_manifest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pkgdev/scripts') diff --git a/src/pkgdev/scripts/pkgdev_manifest.py b/src/pkgdev/scripts/pkgdev_manifest.py index 97e6e22..de36fcc 100644 --- a/src/pkgdev/scripts/pkgdev_manifest.py +++ b/src/pkgdev/scripts/pkgdev_manifest.py @@ -67,8 +67,8 @@ def _restrict_targets(repo, targets): if os.path.exists(target): try: restrictions.append(repo.path_restrict(target)) - except ValueError as e: - manifest.error(e) + except ValueError as exc: + manifest.error(exc) else: try: restrictions.append(parse_match(target)) -- cgit v1.2.3-65-gdbad