Reformat LCM to standardized format
Change-Id: I2259f4fc330129ff2d6c805618c2e069aa74564c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osm_lcm/data_utils/filesystem/filesystem.py b/osm_lcm/data_utils/filesystem/filesystem.py
index bc26c96..c0110ef 100644
--- a/osm_lcm/data_utils/filesystem/filesystem.py
+++ b/osm_lcm/data_utils/filesystem/filesystem.py
@@ -30,7 +30,7 @@
class Filesystem:
class __Filesystem:
def __init__(self, config):
- self.logger = logging.getLogger('lcm')
+ self.logger = logging.getLogger("lcm")
try:
if config["storage"]["driver"] == "local":
self.fs = fslocal.FsLocal()
@@ -39,8 +39,11 @@
self.fs = fsmongo.FsMongo()
self.fs.fs_connect(config["storage"])
else:
- raise Exception("Invalid configuration param '{}' at '[storage]':'driver'".format(
- config["storage"]["driver"]))
+ raise Exception(
+ "Invalid configuration param '{}' at '[storage]':'driver'".format(
+ config["storage"]["driver"]
+ )
+ )
except (FsException) as e:
self.logger.critical(str(e), exc_info=True)
raise Exception(str(e))