From 538ef006f36b3e525bb87d18944d596afb5f1639 Mon Sep 17 00:00:00 2001 From: E Rasche Date: Tue, 8 Aug 2017 16:55:37 +0000 Subject: [PATCH] Also load yaml sample files. cc @jmchilton, is this ok? --- lib/galaxy/util/plugin_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/util/plugin_config.py b/lib/galaxy/util/plugin_config.py index d9deab5bdd3..e89749bf36a 100644 --- a/lib/galaxy/util/plugin_config.py +++ b/lib/galaxy/util/plugin_config.py @@ -72,7 +72,7 @@ def __load_plugins_from_dicts(plugins_dict, configs, extra_kwds): def plugin_source_from_path(path): - if path.endswith(".yaml") or path.endswith(".yml"): + if path.endswith(".yaml") or path.endswith(".yml") or path.endswith(".yaml.sample") or path.endswith(".yml.sample"): return ('dict', __read_yaml(path)) else: return ('xml', ElementTree.parse( path ).getroot())