summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann QUERET <yoann@queret.net>2015-10-06 14:24:15 +0200
committerYoann QUERET <yoann@queret.net>2015-10-06 14:24:15 +0200
commitbe5fe4a13194493c2611b0ca96fdf4b4b348c1ea (patch)
tree158d0ab99bf7c7619a7c3336720d43a305465523
parent8db3050d45d3f1008b9011d3cac7d371b53b3a85 (diff)
downloaddabmux-be5fe4a13194493c2611b0ca96fdf4b4b348c1ea.tar.gz
dabmux-be5fe4a13194493c2611b0ca96fdf4b4b348c1ea.tar.bz2
dabmux-be5fe4a13194493c2611b0ca96fdf4b4b348c1ea.zip
Replace - to _ in sub name to be compatible with munin script.
-rwxr-xr-xdoc/stats_dabmux_multi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stats_dabmux_multi.py b/doc/stats_dabmux_multi.py
index a2587a4..8e58c00 100755
--- a/doc/stats_dabmux_multi.py
+++ b/doc/stats_dabmux_multi.py
@@ -123,7 +123,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config":
munin_config = config_top
for conf in config['config']:
- munin_config += config_template.format(ident=conf)
+ munin_config += config_template.format(ident=conf.replace('-', '_'))
print(munin_config)
else: