@@ -1061,10 +1061,8 @@ def __init__(self, name: Optional[str] = None, value: Optional[str] = None, exti
self.type = 'person'
self.addr = email.utils.parseaddr(value)
# Normalize the value with parsed data
- if self.addr[0]:
- self.value = f'{self.addr[0]} <{self.addr[1]}>'
- elif self.addr[1]:
- self.value = self.addr[1]
+ if self.addr[0] or self.addr[1]:
+ self.value = email.utils.formataddr(self.addr)
else:
self.type = 'unknown'
else:
@@ -14,7 +14,7 @@ Cc: bare-address@example.org
Reviewed-by: Original Reviewer <original-reviewer@example.com>
Link: https://msgid.link/some@msgid.here
Signed-off-by: Original Submitter <original-submitter@example.com>
-Reviewed-by: Followup Reviewer1 (corporate) <followup-reviewer1@example.com>
+Reviewed-by: "Followup Reviewer1 (corporate)" <followup-reviewer1@example.com>
Tested-by: Followup Reviewer2 <followup-reviewer2@example.com>
diff --git a/b4/junk.py b/b4/junk.py
@@ -13,7 +13,7 @@ Fixes: abcdef01234567890
Reviewed-by: Original Reviewer <original-reviewer@example.com>
Link: https://msgid.link/some@msgid.here
Signed-off-by: Original Submitter <original-submitter@example.com>
-Reviewed-by: Followup Reviewer1 (corporate) <followup-reviewer1@example.com>
+Reviewed-by: "Followup Reviewer1 (corporate)" <followup-reviewer1@example.com>
Tested-by: Followup Reviewer2 <followup-reviewer2@example.com>
diff --git a/b4/junk.py b/b4/junk.py