remove redundant imports and pointless code

This commit is contained in:
Hans-Christoph Steiner 2021-05-11 20:25:51 +02:00
parent 95af082082
commit 0fbd04f1c2
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
5 changed files with 0 additions and 10 deletions

View file

@ -890,10 +890,6 @@ def write_yaml(mf, app):
_yaml_bools_plus_lists.extend(_yaml_bools_false)
_yaml_bools_plus_lists.extend([[x] for x in _yaml_bools_false])
def _class_as_dict_representer(dumper, data):
'''Creates a YAML representation of a App/Build instance'''
return dumper.represent_dict(data)
def _field_to_yaml(typ, value):
if typ is TYPE_STRING:
if value in _yaml_bools_plus_lists: