diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-04-16 16:39:47 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-04-16 16:39:47 +0300 |
commit | 58a0a2a6d8997ba7447b1757868197f2f2c31ed2 (patch) | |
tree | e58b3d3345114ae82d72c3caf9d1fc4e268fb8ed /clab | |
parent | a706190989ca5c345fcbe444852f5147f1da79c8 (diff) | |
download | clab-58a0a2a6d8997ba7447b1757868197f2f2c31ed2.tar.gz |
Show multiline unicode strings as multiline
Diffstat (limited to 'clab')
-rwxr-xr-x | clab | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ class Entry(object): self._dict = parsed_yaml def as_yaml(self): - return yaml.dump(self._dict, default_flow_style=False) + return yaml.dump( + self._dict, default_flow_style=False, allow_unicode=True) def get_single(self, key, default): names = self.get_subdict(key) |