mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Use shorter and non-redundant 'or' clauses for 'if True else' assignments
This commit is contained in:
parent
eaf3216e40
commit
3dbf99a7f2
5 changed files with 10 additions and 10 deletions
|
|
@ -794,7 +794,7 @@ def write_metadata(dest, app):
|
|||
mf.write("%s\n" % comment)
|
||||
written += 1
|
||||
if written > 0:
|
||||
logging.debug("...writing comments for " + (key if key else 'EOF'))
|
||||
logging.debug("...writing comments for " + (key or 'EOF'))
|
||||
|
||||
def writefield(field, value=None):
|
||||
writecomments(field)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue