X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FAPI.py;h=5c4cb9d5d880c042a0a3a427c28b1c9105e22ba0;hb=refs%2Fheads%2Fplanetlab-4_0-branch;hp=5136341b86a93f79d8b731b9e9ef411f9bb64834;hpb=801365be2d2282e4ed6757f91651179f2f9258d9;p=plcapi.git diff --git a/PLC/API.py b/PLC/API.py index 5136341..5c4cb9d 100644 --- a/PLC/API.py +++ b/PLC/API.py @@ -5,7 +5,7 @@ # Mark Huang # # Copyright (C) 2004-2006 The Trustees of Princeton University -# $Id: API.py,v 1.7 2006/10/30 16:37:11 mlhuang Exp $ +# $Id: API.py 5574 2007-10-25 20:33:17Z thierry $ # import sys @@ -83,7 +83,6 @@ except ImportError: from PLC.Config import Config from PLC.Faults import * import PLC.Methods -from PLC.sendmail import sendmail class PLCAPI: methods = PLC.Methods.methods @@ -98,9 +97,6 @@ class PLCAPI: # Load configuration self.config = Config(config) - # Initialize mailer - self.mailer = sendmail(self.config) - # Initialize database connection if self.config.PLC_DB_TYPE == "postgresql": from PLC.PostgreSQL import PostgreSQL