Commit 2badce1b authored by Max Rees's avatar Max Rees

Censor maintainer emails on package pages too

parent f7cfd625
......@@ -162,6 +162,8 @@ def page_package(path, _query):
pkg = pkg._replace(updated=format_timestamp(pkg.updated))
pkg = pkg._replace(origin=pkg.get_origin(db))
if pkg.maintainer:
pkg = pkg._replace(maintainer=pkg.maintainer.split(" <")[0])
subpkgs = pkg.get_subpkgs(db)
if pkg.origin:
startdir = pkg.repo + "/" + pkg.origin.name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment