diff --git a/scripts/extra_db_config.py b/scripts/extra_db_config.py new file mode 100644 index 0000000000000000000000000000000000000000..382fed70edc032233ffc15301af11c5c51658acc --- /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