mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
remove --exodus cli option from scanner.py
This commit is contained in:
parent
24d88705fa
commit
4ce2f291e3
@ -713,11 +713,6 @@ def main():
|
|||||||
)
|
)
|
||||||
common.setup_global_opts(parser)
|
common.setup_global_opts(parser)
|
||||||
parser.add_argument("appid", nargs='*', help=_("application ID with optional versionCode in the form APPID[:VERCODE]"))
|
parser.add_argument("appid", nargs='*', help=_("application ID with optional versionCode in the form APPID[:VERCODE]"))
|
||||||
parser.add_argument(
|
|
||||||
"--exodus",
|
|
||||||
action="store_true",
|
|
||||||
help="Use tracker scanner from Exodus project (requires internet)",
|
|
||||||
)
|
|
||||||
parser.add_argument("-f", "--force", action="store_true", default=False,
|
parser.add_argument("-f", "--force", action="store_true", default=False,
|
||||||
help=_("Force scan of disabled apps and builds."))
|
help=_("Force scan of disabled apps and builds."))
|
||||||
parser.add_argument("--json", action="store_true", default=False,
|
parser.add_argument("--json", action="store_true", default=False,
|
||||||
@ -738,9 +733,6 @@ def main():
|
|||||||
# initialize/load configuration values
|
# initialize/load configuration values
|
||||||
common.get_config(opts=options)
|
common.get_config(opts=options)
|
||||||
|
|
||||||
if options.exodus:
|
|
||||||
if "exodus" not in common.get_config()['scanner_signature_sources']:
|
|
||||||
common.get_config()['scanner_signature_sources'].append('exodus')
|
|
||||||
if options.refresh:
|
if options.refresh:
|
||||||
scanner._get_tool().refresh()
|
scanner._get_tool().refresh()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user