aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-16 20:53:15 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-20 17:02:05 +0300
commit402e65968e8101fe9bb87aeb82fa580c65e64b72 (patch)
tree8d3e0902f31f46245380a3fe1d7e9cb204921ed3 /src/pkgdev/scripts
parentci: update actions & add lint (diff)
downloadpkgdev-402e65968e8101fe9bb87aeb82fa580c65e64b72.tar.gz
pkgdev-402e65968e8101fe9bb87aeb82fa580c65e64b72.tar.bz2
pkgdev-402e65968e8101fe9bb87aeb82fa580c65e64b72.zip
config: per-repo configuration support
Resolves: https://github.com/pkgcore/pkgdev/issues/89 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'src/pkgdev/scripts')
-rw-r--r--src/pkgdev/scripts/pkgdev_manifest.py4
1 files changed, 2 insertions, 2 deletions
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))