projects
/
osm
/
common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug559 some modifications
[osm/common.git]
/
osm_common
/
dbmemory.py
diff --git
a/osm_common/dbmemory.py
b/osm_common/dbmemory.py
index
0e0c42c
..
bae68e2
100644
(file)
--- a/
osm_common/dbmemory.py
+++ b/
osm_common/dbmemory.py
@@
-26,8
+26,8
@@
__author__ = "Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>"
class DbMemory(DbBase):
class DbMemory(DbBase):
- def __init__(self, logger_name='db'
, master_password=None
):
- super().__init__(logger_name
, master_password
)
+ def __init__(self, logger_name='db'):
+ super().__init__(logger_name)
self.db = {}
def db_connect(self, config):
self.db = {}
def db_connect(self, config):
@@
-38,6
+38,7
@@
class DbMemory(DbBase):
"""
if "logger_name" in config:
self.logger = logging.getLogger(config["logger_name"])
"""
if "logger_name" in config:
self.logger = logging.getLogger(config["logger_name"])
+ self.master_password = config.get("masterpassword")
@staticmethod
def _format_filter(q_filter):
@staticmethod
def _format_filter(q_filter):