This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
commit eb22648046e8b7fea4044ca61b99ba59f8ac2fd5 Author: Sebb <[email protected]> AuthorDate: Thu Sep 3 22:57:22 2020 +0100 Drop medium_original --- tools/yaml_sort.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/yaml_sort.py b/tools/yaml_sort.py index 3e88646..fd529e7 100755 --- a/tools/yaml_sort.py +++ b/tools/yaml_sort.py @@ -11,6 +11,7 @@ yml = yaml.safe_load(open(sys.argv[1], 'r')) # update the dict in place for key1 in yml.keys(): if key1 == 'parsing': + yml[key1].pop('medium_original') for key2 in yml[key1]: for entry in yml[key1][key2]: # fix up the order by dropping and re-adding @@ -18,6 +19,7 @@ for key1 in yml.keys(): entry[n] = entry.pop(n) elif key1 == 'generators': for key2 in yml[key1]: + yml[key1][key2].pop('medium_original') for key3 in yml[key1][key2]: for entry in yml[key1][key2][key3]: # fix up the order by dropping and re-adding
