Skip to content

Commit 98bbf58

Browse files
committed
bugs: improve output texts
Signed-off-by: Arthur Zamarin <[email protected]>
1 parent 0c3f492 commit 98bbf58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pkgdev/scripts/pkgdev_bugs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def file_bug(
215215
maintainers = tuple(maintainers) or ("[email protected]",)
216216

217217
summary = f"{', '.join(pkg.versioned_atom.cpvstr for pkg, _ in self.pkgs)}: stablereq"
218-
if len(summary) > 60:
218+
if len(summary) > 90 and len(self.pkgs) > 1:
219219
summary = f"{self.pkgs[0][0].versioned_atom.cpvstr} and friends: stablereq"
220220

221221
request_data = dict(
@@ -473,7 +473,7 @@ def observe(node: GraphNode):
473473
f"https://bugs.gentoo.org/{node.bugno} ",
474474
" | ".join(node.lines()),
475475
" depends on bugs ",
476-
{dep.bugno for dep in node.edges},
476+
{dep.bugno for dep in node.edges} or "{}",
477477
)
478478
self.out.flush()
479479

0 commit comments

Comments
 (0)