projects
/
osm
/
NBI.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a946e4
)
fixed database init version issue
79/5979/1
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Tue, 17 Apr 2018 14:06:26 +0000
(16:06 +0200)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Tue, 17 Apr 2018 14:06:26 +0000
(16:06 +0200)
Change-Id: I058ac0c96fab1ac27fa7eedeffd7a7d984d1939b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_nbi/engine.py
patch
|
blob
|
history
diff --git
a/osm_nbi/engine.py
b/osm_nbi/engine.py
index
f8c7404
..
e7bf7c9
100644
(file)
--- a/
osm_nbi/engine.py
+++ b/
osm_nbi/engine.py
@@
-755,7
+755,7
@@
class Engine(object):
If empty, it creates a new user admin/admin at 'users' and a new entry at 'version'
:return: None if ok, exception if error or if the version is different.
"""
- version = self.db.get_one("version
s
", fail_on_empty=False, fail_on_more=False)
+ version = self.db.get_one("version", fail_on_empty=False, fail_on_more=False)
if not version:
# create user admin
self.create_admin()