Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-03-05 19:33:05 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2022-03-07 18:08:25 +0300
commit417126bee6afcf6f5f3110d7fa8f7d5c5316c8fa (patch)
treefcc8a499cac3eed6e20730e460820d88d560a7d2 /calm/pkg2html.py
parent8a55677b7ddc5f268ffd8a0759ae970a0c099ca3 (diff)
Factor out navigating from pkg to srcpkg
Diffstat (limited to 'calm/pkg2html.py')
-rwxr-xr-xcalm/pkg2html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/pkg2html.py b/calm/pkg2html.py
index b2080dc..ae6a6a7 100755
--- a/calm/pkg2html.py
+++ b/calm/pkg2html.py
@@ -243,7 +243,7 @@ def update_package_listings(args, packages):
if homepage:
print('<span class="detail">homepage</span>: <a href="%s">%s</a><br><br>' % (homepage, homepage), file=f)
else:
- es = po.version_hints[bv].get('external-source', p + '-src')
+ es = po.srcpackage(bv)
print('<span class="detail">source package</span>: %s<br><br>' % linkify_package(es), file=f)
es_po = arch_package(packages, es)