commit | 5fe8041e1b29c067fb38d8b98f6f7f5ef0b239c8 | [log] [tgz] |
---|---|---|
author | Benjamin Drung <bdrung@debian.org> | Wed Feb 14 23:55:54 2018 +0100 |
committer | Benjamin Drung <bdrung@debian.org> | Thu Feb 15 00:05:46 2018 +0100 |
tree | d4e2d86a350beecee76900b5d9c03c206590dd01 | |
parent | 36b6d7007103fabaa0c3f3532effc3ec21124aee [diff] |
Support Python 3 json.dumps() and yaml.safe_dump() return a str object on Python 2 and Python 3. Therefore the unicode conversion is only needed for Python 2. Bug-Debian: https://bugs.debian.org/889929