Fix v -> value typo in YAML storage loader.
authorW. Trevor King <wking@drexel.edu>
Fri, 29 Jul 2011 12:23:51 +0000 (08:23 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 29 Jul 2011 12:23:51 +0000 (08:23 -0400)
h5config/storage/yaml.py

index 355023042fd55915049e8e3b8322bb98df856a0b..676333ddf2a7e9931caaf143623b0e2776425cf9 100644 (file)
@@ -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