diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2019-05-25 15:50:29 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2019-05-27 18:10:11 +0300 |
commit | 3c48fbbc9c32ff7b69f2773cf7ec385b59c31d0a (patch) | |
tree | afa0515a434e418398f2428a8423a5bb2f6000e1 | |
parent | c00be919232151aaea77410944b4bde725899c10 (diff) |
Don't list previous maintainer in summary page if orphaned
-rwxr-xr-x | calm/pkg2html.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/calm/pkg2html.py b/calm/pkg2html.py index 6632b8d..8733122 100755 --- a/calm/pkg2html.py +++ b/calm/pkg2html.py @@ -187,7 +187,11 @@ def update_package_listings(args, packages): print('<span class="detail">binaries</span>: %s<br><br>' % ', '.join([linkify_package(p) for p in sorted(arch_packages[p].is_used_by)]), file=f) es = p - print('<span class="detail">maintainer(s)</span>: %s ' % ', '.join(sorted(pkg_maintainers[es])), file=f) + if 'ORPHANED' in pkg_maintainers[es]: + m = 'ORPHANED' + else: + m = ', '.join(sorted(pkg_maintainers[es])) + print('<span class="detail">maintainer(s)</span>: %s ' % m, file=f) print(textwrap.dedent('''\ <span class="smaller">(Use <a href="https://cygwin.com/lists.html#cygwin">the mailing list</a> to report bugs or ask questions. <a href="https://cygwin.com/problems.html#personal-email">Do not contact the maintainer(s) directly</a>.)</span>'''), file=f) |