notify: add some b prefixes
authorAugie Fackler <augie@google.com>
Sun, 14 Oct 2018 04:33:47 -0400
changeset 40283 c7a363ca04b9
parent 40282 e4f82db071a4
child 40284 46b55f279571
notify: add some b prefixes # skip-blame just b prefixes Differential Revision: https://phab.mercurial-scm.org/D5098
hgext/notify.py
--- a/hgext/notify.py	Sun Oct 14 09:24:36 2018 +0000
+++ b/hgext/notify.py	Sun Oct 14 04:33:47 2018 -0400
@@ -226,7 +226,7 @@
 )
 
 # template for single changeset can include email headers.
-single_template = '''
+single_template = b'''
 Subject: changeset in {webroot}: {desc|firstline|strip}
 From: {author}
 
@@ -239,7 +239,7 @@
 # template for multiple changesets should not contain email headers,
 # because only first set of headers will be used and result will look
 # strange.
-multiple_template = '''
+multiple_template = b'''
 changeset {node|short} in {root}
 details: {baseurl}{webroot}?cmd=changeset;node={node|short}
 summary: {desc|firstline}