From: W. Trevor King Date: Sun, 22 Aug 2010 13:59:00 +0000 (-0400) Subject: Save dtypes to YAML (now we only drop ndarrays). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=09f3ad6b64e4eee56c2fdec59aa69affc52dd9bd;p=hooke.git Save dtypes to YAML (now we only drop ndarrays). --- diff --git a/hooke/util/yaml.py b/hooke/util/yaml.py index 46d6e2a..b4fa7de 100644 --- a/hooke/util/yaml.py +++ b/hooke/util/yaml.py @@ -99,7 +99,6 @@ else: def none_representer(dumper, data): return dumper.represent_none(None) yaml.add_representer(numpy.ndarray, none_representer) -yaml.add_representer(numpy.dtype, none_representer) def bool_representer(dumper, data): return dumper.represent_bool(data)