diff options
author | 2023-05-28 22:38:30 +0300 | |
---|---|---|
committer | 2023-05-28 22:41:32 +0300 | |
commit | 049d817f5b2811c8de05342300230d75ce4aa3e8 (patch) | |
tree | 4d7326087ac15f85e3f4155a39e7cc7e72bfa8f2 | |
parent | bugs: fallback to `~/.bugz_token` for api-key (diff) | |
download | pkgdev-049d817f5b2811c8de05342300230d75ce4aa3e8.tar.gz pkgdev-049d817f5b2811c8de05342300230d75ce4aa3e8.tar.bz2 pkgdev-049d817f5b2811c8de05342300230d75ce4aa3e8.zip |
bugs: fix wrong blocks_bug arg to deps bugs
When failing, fails with the following exception::
TypeError: Object of type function is not JSON serializable
Fixes: f5b955018af5715bdd72ce6b094bf901be2d8ced
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | src/pkgdev/scripts/pkgdev_bugs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkgdev/scripts/pkgdev_bugs.py b/src/pkgdev/scripts/pkgdev_bugs.py index e2eaf33..25608d6 100644 --- a/src/pkgdev/scripts/pkgdev_bugs.py +++ b/src/pkgdev/scripts/pkgdev_bugs.py @@ -204,7 +204,7 @@ class GraphNode: return self.bugno for dep in self.edges: if dep.bugno is None: - dep.file_bug(api_key, auto_cc_arches, observer) + dep.file_bug(api_key, auto_cc_arches, (), observer) maintainers = dict.fromkeys( maintainer.email for pkg, _ in self.pkgs for maintainer in pkg.maintainers ) |