diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-01-11 18:32:04 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-01-11 18:32:04 +0100 |
commit | ac56d9373a66378a04048993ed5aec65cf39f149 (patch) | |
tree | 4bf8372ef83027af5308cb20b65f5417a2eab318 /scripting | |
parent | fdo#59249: String literal needs a "b" prefix in Pyhton 3 (diff) | |
download | core-ac56d9373a66378a04048993ed5aec65cf39f149.tar.gz core-ac56d9373a66378a04048993ed5aec65cf39f149.zip |
Can't convert 'Enum' resp. 'bytes' object to str implicitly
...when you set dbg = True
Change-Id: Ifc170e9336a662dce2ae59227baf3bea692eedac
Diffstat (limited to 'scripting')
-rwxr-xr-x | scripting/source/pyprov/mailmerge.py | 4 |
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: |