with open(os.path.join('metadata', apk['packageName'] + '.yml'), 'w') as f:
# this should use metadata.App() and
# metadata.write_yaml(), but since ruamel.yaml
# 0.13 is not widely distributed yet, and it's
# special tricks are not really needed here, this
# uses the plain YAML lib
with open(os.path.join('metadata', apk['packageName'] + '.yml'), 'w') as f:
# this should use metadata.App() and
# metadata.write_yaml(), but since ruamel.yaml
# 0.13 is not widely distributed yet, and it's
# special tricks are not really needed here, this
# uses the plain YAML lib