mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
fixup! metadata: Make ArchivePolicy an interger internally
This commit is contained in:
parent
9ef2088ace
commit
31791b44f3
@ -1226,10 +1226,10 @@ def _app_to_yaml(app):
|
|||||||
if len(value) == 1:
|
if len(value) == 1:
|
||||||
cm[field] = value[0]
|
cm[field] = value[0]
|
||||||
else:
|
else:
|
||||||
|
cm[field] = value
|
||||||
elif field == 'ArchivePolicy':
|
elif field == 'ArchivePolicy':
|
||||||
if value is None:
|
if value is None:
|
||||||
continue
|
continue
|
||||||
cm[field] = _field_to_yaml(fieldtype(field), value)
|
|
||||||
cm[field] = value
|
cm[field] = value
|
||||||
elif _fieldtype == TYPE_MULTILINE:
|
elif _fieldtype == TYPE_MULTILINE:
|
||||||
v = _format_multiline(value)
|
v = _format_multiline(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user