From a7a121574f5c1ce9534ae369a273a7fefdf0f790 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 29 Jul 2011 08:23:51 -0400 Subject: [PATCH] Fix v -> value typo in YAML storage loader. --- h5config/storage/yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5config/storage/yaml.py b/h5config/storage/yaml.py index 3550230..676333d 100644 --- a/h5config/storage/yaml.py +++ b/h5config/storage/yaml.py @@ -108,7 +108,7 @@ class YAML_Storage (_FileStorage): if isinstance(setting, (_config.BooleanSetting, _config.NumericSetting, _config.FloatListSetting)): - if isinstance(v, _types.StringTypes): + if isinstance(value, _types.StringTypes): # older versions of h5config value = s.convert_from_text(value) v = value -- 2.26.2