git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8de6e
)
oops, one fragment had been oversimplified when porting to python3
author
parmentelat
<thierry.parmentelat@inria.fr>
Fri, 14 Dec 2018 12:05:53 +0000
(13:05 +0100)
committer
parmentelat
<thierry.parmentelat@inria.fr>
Fri, 14 Dec 2018 12:05:53 +0000
(13:05 +0100)
bin/db-config
patch
|
blob
|
history
diff --git
a/bin/db-config
b/bin/db-config
index
4a01d35
..
eb936c9
100755
(executable)
--- a/
bin/db-config
+++ b/
bin/db-config
@@
-89,7
+89,9
@@
def main():
# Load variables into dictionaries
for category_id, (category, variablelist) in variables.items():
- globals_exec[category_id] = variablelist.copy()
+ globals_exec[category_id] = dict(
+ zip(variablelist.keys(),
+ [variable['value'] for variable in variablelist.values()]))
directory = "/etc/planetlab/db-config.d"
snippets = GetSnippets(directory)