diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-03-11 18:06:51 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-03-11 18:06:51 +0200 |
commit | 5e4b3ec570db73ab340bc2d65d01342eb0ae823a (patch) | |
tree | 46a5a2f21d347c4d016e5bfe1e70d4e13544c3ef /src | |
parent | commit: compute commit title for commit related files only (diff) | |
download | pkgdev-5e4b3ec570db73ab340bc2d65d01342eb0ae823a.tar.gz pkgdev-5e4b3ec570db73ab340bc2d65d01342eb0ae823a.tar.bz2 pkgdev-5e4b3ec570db73ab340bc2d65d01342eb0ae823a.zip |
bugs: improve assert for unkeyworded packages
Bug: https://github.com/pkgcore/pkgdev/issues/123
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pkgdev/scripts/pkgdev_bugs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkgdev/scripts/pkgdev_bugs.py b/src/pkgdev/scripts/pkgdev_bugs.py index 5ea32e6..814aec1 100644 --- a/src/pkgdev/scripts/pkgdev_bugs.py +++ b/src/pkgdev/scripts/pkgdev_bugs.py @@ -286,7 +286,9 @@ class DependencyGraph: continue keywords.update(_get_suggested_keywords(self.options.repo, pkg)) - assert keywords + assert ( + keywords + ), f"no keywords for {pkg.versioned_atom}, currently unsupported by tool: https://github.com/pkgcore/pkgdev/issues/123" self.nodes.add(new_node := GraphNode(((pkg, keywords),))) vertices[pkg] = new_node self.out.write( |