diff options
-rwxr-xr-x | scripting/source/pyprov/mailmerge.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripting/source/pyprov/mailmerge.py b/scripting/source/pyprov/mailmerge.py index 30f86fc53154..4654ad35fc1f 100755 --- a/scripting/source/pyprov/mailmerge.py +++ b/scripting/source/pyprov/mailmerge.py @@ -45,8 +45,7 @@ import sys, smtplib, imaplib, poplib dbg = False class PyMailSMTPService(unohelper.Base, XSmtpService): - def __init__( self, ctx ): - #def __init__( self, ctx ): + def __init__( self, ctx ): self.ctx = ctx self.listeners = [] self.supportedtypes = ('Insecure', 'Ssl') @@ -232,6 +231,7 @@ class PyMailIMAPService(unohelper.Base, XMailService): self.supportedtypes = ('Insecure', 'Ssl') self.server = None self.connectioncontext = None + self.notify = EventObject() if dbg: print >> sys.stderr, "PyMailIMAPService init" def addConnectionListener(self, xListener): @@ -300,6 +300,7 @@ class PyMailPOP3Service(unohelper.Base, XMailService): self.supportedtypes = ('Insecure', 'Ssl') self.server = None self.connectioncontext = None + self.notify = EventObject() if dbg: print >> sys.stderr, "PyMailPOP3Service init" def addConnectionListener(self, xListener): |