diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-16 20:53:15 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-20 17:02:05 +0300 |
commit | 402e65968e8101fe9bb87aeb82fa580c65e64b72 (patch) | |
tree | 8d3e0902f31f46245380a3fe1d7e9cb204921ed3 /src/pkgdev/scripts | |
parent | ci: update actions & add lint (diff) | |
download | pkgdev-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.py | 4 |
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)) |