mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-18 05:00:29 +03:00
remove last maven: quirks and make it always a string
It turns out that the maven: field was originally declared as a TYPE_STRING,
given that it was not given a different type in metadata.py's flagtypes.
The code was confused because it was given a default value of `False` rather
than `None` as the rest of the TYPE_STRING fields have.
This construct in build.py means maven: should always be a string:
if '@' in build.maven:
maven_dir = os.path.join(root_dir, build.maven.split('@', 1)[1])
else:
maven_dir = root_dir
This commit is contained in:
parent
a107e810d4
commit
ad960c6ecd
7 changed files with 120 additions and 114 deletions
|
|
@ -27,7 +27,7 @@ Builds:
|
|||
gradle: []
|
||||
gradleprops: []
|
||||
init: ''
|
||||
maven: false
|
||||
maven: null
|
||||
ndk: null
|
||||
novcheck: false
|
||||
oldsdkloc: false
|
||||
|
|
@ -62,7 +62,7 @@ Builds:
|
|||
gradle: []
|
||||
gradleprops: []
|
||||
init: ''
|
||||
maven: false
|
||||
maven: null
|
||||
ndk: null
|
||||
novcheck: false
|
||||
oldsdkloc: false
|
||||
|
|
@ -97,7 +97,7 @@ Builds:
|
|||
gradle: []
|
||||
gradleprops: []
|
||||
init: ''
|
||||
maven: false
|
||||
maven: null
|
||||
ndk: null
|
||||
novcheck: false
|
||||
oldsdkloc: false
|
||||
|
|
@ -133,7 +133,7 @@ Builds:
|
|||
- 'yes'
|
||||
gradleprops: []
|
||||
init: ''
|
||||
maven: false
|
||||
maven: null
|
||||
ndk: null
|
||||
novcheck: false
|
||||
oldsdkloc: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue