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
|
|
@ -285,8 +285,8 @@ def main():
|
|||
|
||||
# Create a build line...
|
||||
build = {}
|
||||
build['version'] = version if version else '?'
|
||||
build['vercode'] = vercode if vercode else '?'
|
||||
build['version'] = version or '?'
|
||||
build['vercode'] = vercode or '?'
|
||||
build['commit'] = '?'
|
||||
build['disable'] = 'Generated by import.py - check/set version fields and commit id'
|
||||
if options.subdir:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue