mask bdfl-delegate email

This commit is contained in:
Benjamin Peterson 2017-06-11 12:43:16 -07:00
parent 2a42be8c60
commit 591a85fadc
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ class PEPHeaders(Transform):
# empty
continue
para = body[0]
if name == 'author':
if name in ('author', 'bdfl-delegate'):
for node in para:
if isinstance(node, nodes.reference):
node.replace_self(peps.mask_email(node))