From 9579799c7d8d14786eedd17563e870ad97965300 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Wed, 14 May 2008 12:40:36 +0000
Subject: [PATCH] Remove unused variables. Remove space.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20962 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Tool/NotificationTool.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/product/ERP5/Tool/NotificationTool.py b/product/ERP5/Tool/NotificationTool.py
index 48ceccf232..402727c90d 100644
--- a/product/ERP5/Tool/NotificationTool.py
+++ b/product/ERP5/Tool/NotificationTool.py
@@ -220,7 +220,7 @@ class NotificationTool(BaseTool):
 
   # high-level interface
   security.declareProtected(Permissions.UseMailhostServices, 'sendMessage')
-  def sendMessage(self, sender=None, recipient=None, subject=None, 
+  def sendMessage(self, sender=None, recipient=None, subject=None,
                   message=None, attachment_document_list=None,
                   notifier_list=None, priority_level=None,
                   store_as_event=False,
@@ -265,11 +265,6 @@ class NotificationTool(BaseTool):
     portal = self.getPortalObject()
     catalog_tool = getToolByName(self, 'portal_catalog')
 
-    # Find Default Values
-    default_from_email = portal.email_from_address
-    default_to_email = getattr(portal, 'email_to_address',
-                               default_from_email)
-
     # Find "From" Person
     from_person = None
     if isinstance(sender, basestring):
-- 
2.30.9