summaryrefslogtreecommitdiffstats
path: root/accounts/backend/mail/dummy.py
diff options
context:
space:
mode:
authorVincent Post <cent@spline.de>2020-08-07 16:57:39 +0200
committerVincent Post <cent@spline.de>2020-08-07 16:57:39 +0200
commitf0a3dfd28d14461caeece9d7c171b6b319049c77 (patch)
tree3dbc76253a78607f1cdfe36d72c5b93e6a66baf8 /accounts/backend/mail/dummy.py
parent1db4f84c5adb2e33ea8d065cb6bcb0e7eeedc02f (diff)
downloadweb-f0a3dfd28d14461caeece9d7c171b6b319049c77.tar.gz
web-f0a3dfd28d14461caeece9d7c171b6b319049c77.tar.bz2
web-f0a3dfd28d14461caeece9d7c171b6b319049c77.zip
2to3 -w accounts contrib
Diffstat (limited to 'accounts/backend/mail/dummy.py')
-rw-r--r--accounts/backend/mail/dummy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/accounts/backend/mail/dummy.py b/accounts/backend/mail/dummy.py
index ad38d42..61e7b75 100644
--- a/accounts/backend/mail/dummy.py
+++ b/accounts/backend/mail/dummy.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from __future__ import absolute_import
+
from . import Backend
from accounts.utils import ensure_utf8
@@ -41,8 +41,8 @@ class DummyBackend(Backend):
if not self.plain:
body = "\n| ".join(body.split("\n"))
- print(self.format.format(
+ print((self.format.format(
subject=ensure_utf8(content.subject()),
sender=ensure_utf8(content.sender()),
to=ensure_utf8(recipient),
- body=ensure_utf8(body)))
+ body=ensure_utf8(body))))