summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-01-11 18:32:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-01-11 18:32:04 +0100
commitac56d9373a66378a04048993ed5aec65cf39f149 (patch)
tree4bf8372ef83027af5308cb20b65f5417a2eab318 /scripting
parent7a7e19c166df326c45f76a142b478b0629f784c9 (diff)
Can't convert 'Enum' resp. 'bytes' object to str implicitly
...when you set dbg = True Change-Id: Ifc170e9336a662dce2ae59227baf3bea692eedac
Diffstat (limited to 'scripting')
-rwxr-xr-xscripting/source/pyprov/mailmerge.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/pyprov/mailmerge.py b/scripting/source/pyprov/mailmerge.py
index cc7a5dfa2778..9dce4d307955 100755
--- a/scripting/source/pyprov/mailmerge.py
+++ b/scripting/source/pyprov/mailmerge.py
@@ -103,7 +103,7 @@ class PyMailSMTPService(unohelper.Base, XSmtpService):
password = xAuthenticator.getPassword().encode('ascii')
if user != b'':
if dbg:
- print("Logging in, username of" + user, file=dbgout)
+ print("Logging in, username of", user, file=dbgout)
self.server.login(user, password)
for listener in self.listeners:
@@ -381,7 +381,7 @@ class PyMailServiceProvider(unohelper.Base, XMailServiceProvider):
self.ctx = ctx
def create(self, aType):
if dbg:
- print("PyMailServiceProvider create with " + aType, file=dbgout)
+ print("PyMailServiceProvider create with", aType, file=dbgout)
if aType == SMTP:
return PyMailSMTPService(self.ctx);
elif aType == POP3: