1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 11:14:17 +00:00

python 3.4 no longer supported (EOL)

This commit is contained in:
deadc0de6
2019-06-06 17:22:40 +02:00
parent d008e6a895
commit df9b56214d
5 changed files with 11 additions and 15 deletions

View File

@@ -549,11 +549,7 @@ class CfgYaml:
def _merge_dict(self, high, low):
"""merge low into high"""
# won't work in python3.4
# return {**low, **high}
new = deepcopy(low)
new.update(high)
return new
return {**low, **high}
def _get_entry(self, dic, key, mandatory=True):
"""return entry from yaml dictionary"""