diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-03-12 23:19:46 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-03-12 23:19:46 +0100 |
commit | 5bc917e58e4ae486046151741e12488d83aa293c (patch) | |
tree | 2c5b63507fbfb74a6e73eee39198033c63421180 | |
parent | e159b98bca4f5ca28a8a8de6f6629b2edb220f38 (diff) |
fix tabs + attributes not declared
-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): |