diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-12-06 18:37:27 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-12-06 18:37:27 +0100 |
commit | 4bb9b8178f2c25341ce797b6ff90b6f8078f26e6 (patch) | |
tree | 0303c7f7cb526b19c1b7ba5149277a1b49d46d7b /representer.py | |
parent | 702a0ce64bb990e5c442f8d3dcaf05c72a3ff255 (diff) | |
download | ruamel.yaml-4bb9b8178f2c25341ce797b6ff90b6f8078f26e6.tar.gz |
fix issue #244 dumping methods of metaclass derived classes0.15.81
*When this change indeed resolves your problem, please **Close** this issue*.
*(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to 'representer.py')
-rw-r--r-- | representer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/representer.py b/representer.py index 7ce810e..d1fd739 100644 --- a/representer.py +++ b/representer.py @@ -639,6 +639,7 @@ if PY2: Representer.add_multi_representer(object, Representer.represent_object) +Representer.add_multi_representer(type, Representer.represent_name) from ruamel.yaml.comments import ( CommentedMap, |