[Libreoffice-commits] .: scripting/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Mar 12 14:20:06 PST 2011


 scripting/source/pyprov/mailmerge.py |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 97a762bb4f0aa51c20d858eb5b56c35dbb9044d0
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Mar 12 23:19:46 2011 +0100

    fix tabs + attributes not declared

diff --git a/scripting/source/pyprov/mailmerge.py b/scripting/source/pyprov/mailmerge.py
index 30f86fc..4654ad3 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):


More information about the Libreoffice-commits mailing list