[tor-commits] [bridgedb/master] Fix GnuPG 'invalid dash escaped line: --\n' error in templates.getFooter().
isis at torproject.org
isis at torproject.org
Fri Jun 6 23:39:14 UTC 2014
commit d78fe49acfadf945aa04584fb7517a81e1e9687b
Author: Isis Lovecruft <isis at torproject.org>
Date: Sat May 17 02:29:58 2014 +0000
Fix GnuPG 'invalid dash escaped line: --\n' error in templates.getFooter().
---
lib/bridgedb/email/templates.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/lib/bridgedb/email/templates.py b/lib/bridgedb/email/templates.py
index 901ba6b..eb5c528 100644
--- a/lib/bridgedb/email/templates.py
+++ b/lib/bridgedb/email/templates.py
@@ -103,9 +103,8 @@ def addHowto(template):
def addFooter(template, clientAddress=None):
"""Add a footer.
- --
+ --
<3 BridgeDB
-
________________________________________________________________________
Public Keys: https://bridges.torproject.org/keys
@@ -115,8 +114,8 @@ def addFooter(template, clientAddress=None):
now = datetime.utcnow()
clientAddr = clientAddress.addrstr
- footer = u'--\n'
- footer += u' <3 BridgeDB\n\n'
+ footer = u' --\n'
+ footer += u' <3 BridgeDB\n'
footer += u'_' * 70
footer += u'\n'
footer += template.gettext(strings.EMAIL_MISC_TEXT[8])
More information about the tor-commits
mailing list