Reformat LCM to standardized format
[osm/LCM.git] / osm_lcm / data_utils / filesystem / filesystem.py
index bc26c96..c0110ef 100644 (file)
@@ -30,7 +30,7 @@ from osm_common import fslocal, fsmongo
 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 @@ class Filesystem:
                     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))