avoid as much as possible accessing logger through class instances, whenever that...
[sfa.git] / sfa / importer / iotlabimporter.py
index 344db71..a794a40 100644 (file)
@@ -6,6 +6,7 @@ from sfa.storage.model import init_tables
 from sqlalchemy import Table, MetaData
 from sqlalchemy.exc import NoSuchTableError
 
+
 class IotLabImporter:
     """
     Creates the iotlab specific lease table to keep track
@@ -16,6 +17,10 @@ class IotLabImporter:
         self.logger = loc_logger
         self.logger.setLevelDebug()
 
+    def add_options(self, parser):
+        """ Not used and need by SFA """
+        pass
+
     def _exists(self, tablename):
         """
         Checks if the table exists in SFA database.
@@ -27,7 +32,6 @@ class IotLabImporter:
 
         except NoSuchTableError:
             return False
-     
 
     def run(self, options):
         """ Run importer"""