mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-31 13:21:13 -04:00
remove errant translations from automation subcommands
A couple `_()` calls slipped in by mistake.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user