From 9c4ce7da03cc6afffe1c973f9180a05357096fb4 Mon Sep 17 00:00:00 2001
From: jkerdreu <jkerdreu@b32b6428-25c9-4566-ad07-03861ab6144f>
Date: Wed, 16 Jun 2021 13:01:09 +0000
Subject: [PATCH] For Damien

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2660 b32b6428-25c9-4566-ad07-03861ab6144f
---
 scripts/extra_db_config.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 scripts/extra_db_config.py

diff --git a/scripts/extra_db_config.py b/scripts/extra_db_config.py
new file mode 100644
index 00000000..382fed70
--- /dev/null
+++ b/scripts/extra_db_config.py
@@ -0,0 +1,14 @@
+# dump the content of the metadb.ini file
+
+from xaal.lib import tools
+import sys
+
+FILE= sys.argv[1]
+
+cfg = tools.load_cfg_file(FILE)
+if cfg == None:
+    print("Unable to load %s" % FILE)
+else:
+    for dev in cfg['devices']:
+        print(dev,end=' ')
+        print(cfg['devices'][dev])
\ No newline at end of file
-- 
GitLab