remove errant translations from automation subcommands

A couple `_()` calls slipped in by mistake.
This commit is contained in:
Hans-Christoph Steiner
2026-01-13 08:40:20 +01:00
parent a50e491966
commit 331711b3ba
2 changed files with 5 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ import logging
import argparse
import traceback
from fdroidserver import _, common, metadata
from fdroidserver import common, metadata
start_timestamp = time.gmtime()
@@ -128,7 +128,7 @@ def schedule_buildcycle_wrapper(limit=None, offset=None, published_only=False):
def main():
parser = argparse.ArgumentParser(
description=_("""print not yet built apps in JSON fromat to STDOUT"""),
description="""print not yet built apps in JSON fromat to STDOUT""",
)
parser.add_argument(
"--pretty",

View File

@@ -33,7 +33,7 @@ import subprocess
from pathlib import Path
from fdroidserver import _, common, schedule_buildcycle
from fdroidserver import common, schedule_buildcycle
def send_to_buildbot(
@@ -149,9 +149,7 @@ def send_buildcycle_wrapper(
def main():
"""CLI entry point."""
parser = argparse.ArgumentParser(
description=_(
"send change notifications to buildbot for kicking off app builds"
),
description="send change notifications to buildbot for kicking off app builds",
)
common.setup_global_opts(parser)
parser.add_argument(
@@ -173,7 +171,7 @@ def main():
parser.add_argument(
"APPID:VERCODE",
nargs="*",
help=_("app id and version code tuple 'APPID:VERCODE'"),
help="app id and version code tuple 'APPID:VERCODE'",
)
options = common.parse_args(parser)