hgext/fastexport.py
changeset 50994 a97f2b50219b
parent 50875 00081fa564ed
child 51863 f4733654f144
--- a/hgext/fastexport.py	Wed Oct 11 02:02:46 2023 +0200
+++ b/hgext/fastexport.py	Wed Oct 11 00:43:24 2023 +0200
@@ -45,9 +45,9 @@
             % rev
         )
     if user_person:
-        return b'"' + user_person + b'" <' + user_email + b'>'
+        return b'"%s" <%s>' % (user_person, user_email)
     else:
-        return b"<" + user_email + b">"
+        return b"<%s>" % user_email
 
 
 def convert_to_git_date(date):