Removing now useless attribute db in iotlabdriver.
[sfa.git] / sfa / iotlab / iotlabpostgres.py
index 78f4b21..a35b2c5 100644 (file)
@@ -77,17 +77,15 @@ class IotlabDB(object):
     class Singleton:
         """
         Class used with this Python singleton design pattern
-            @todo Add all variables, and methods needed for the
-            Singleton class below
         """
 
         def __init__(self, config, debug = False):
             self.iotlab_engine = None
             self.iotlab_session = None
-            self.create_engine(config, debug)
+            self.create_iotlab_engine(config, debug)
             self.session()
 
-        def create_engine(self, config, debug = False):
+        def create_iotlab_engine(self, config, debug = False):
 
 
             if debug == True:
@@ -158,6 +156,7 @@ class IotlabDB(object):
             self.iotlab_session.close()
             self.iotlab_session = None
 
+
         def update_jobs_in_iotlabdb(self, job_oar_list, jobs_psql):
             """ Cleans the iotlab db by deleting expired and cancelled jobs.
             Compares the list of job ids given by OAR with the job ids that