1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 09:50:07 +02:00

remove txt form accepted format list

This commit is contained in:
Michael Pöhn 2020-07-02 11:49:20 +02:00
parent fd2cfb0c7d
commit 4dc503ed28

View File

@ -119,7 +119,7 @@ default_config = {
'mvn3': "mvn", 'mvn3': "mvn",
'gradle': os.path.join(FDROID_PATH, 'gradlew-fdroid'), 'gradle': os.path.join(FDROID_PATH, 'gradlew-fdroid'),
'gradle_version_dir': os.path.join(os.path.join(os.getenv('HOME'), '.cache', 'fdroidserver'), 'gradle'), 'gradle_version_dir': os.path.join(os.path.join(os.getenv('HOME'), '.cache', 'fdroidserver'), 'gradle'),
'accepted_formats': ['txt', 'yml'], 'accepted_formats': ['yml'],
'sync_from_local_copy_dir': False, 'sync_from_local_copy_dir': False,
'allow_disabled_algorithms': False, 'allow_disabled_algorithms': False,
'per_app_repos': False, 'per_app_repos': False,
@ -517,7 +517,7 @@ def get_local_metadata_files():
'''get any metadata files local to an app's source repo '''get any metadata files local to an app's source repo
This tries to ignore anything that does not count as app metdata, This tries to ignore anything that does not count as app metdata,
including emacs cruft ending in ~ and the .fdroid.key*pass.txt files. including emacs cruft ending in ~ and the .fdroid.key*pass.yml files.
''' '''
return glob.glob('.fdroid.[a-jl-z]*[a-rt-z]') return glob.glob('.fdroid.[a-jl-z]*[a-rt-z]')