mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
fixup! metadata: Make ArchivePolicy an interger internally
This commit is contained in:
parent
9ef2088ace
commit
31791b44f3
1 changed files with 2 additions and 2 deletions
|
|
@ -1226,11 +1226,11 @@ def _app_to_yaml(app):
|
|||
if len(value) == 1:
|
||||
cm[field] = value[0]
|
||||
else:
|
||||
cm[field] = value
|
||||
elif field == 'ArchivePolicy':
|
||||
if value is None:
|
||||
continue
|
||||
cm[field] = _field_to_yaml(fieldtype(field), value)
|
||||
cm[field] = value
|
||||
cm[field] = value
|
||||
elif _fieldtype == TYPE_MULTILINE:
|
||||
v = _format_multiline(value)
|
||||
if v:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue