summaryrefslogtreecommitdiff
path: root/tools/gen_class.py
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-11-23 18:39:39 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-11-23 18:39:39 +0100
commitcccddb2dbd7993c8a82f2aa1fe00dccd363a9783 (patch)
tree77fc0c067db45f83a520198a5e632dbb8a7d9dac /tools/gen_class.py
parent084dcd31bf7dfb2a154080f7f5a03e15ba038e37 (diff)
Remove fallback, not needed
Diffstat (limited to 'tools/gen_class.py')
-rwxr-xr-xtools/gen_class.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/gen_class.py b/tools/gen_class.py
index b52871e..ac88bdc 100755
--- a/tools/gen_class.py
+++ b/tools/gen_class.py
@@ -32,7 +32,7 @@ needed.
Usage:
python3 gen_class.py --scan-jars <list> --def-jars <list> --out <dir>
- [--fallback-jars <list>] [--report <file>] [--no-log]
+ [--report <file>] [--no-log]
"""
import argparse
@@ -723,7 +723,6 @@ def main():
ap = argparse.ArgumentParser()
ap.add_argument("--scan-jars", required=True)
ap.add_argument("--def-jars", required=True)
- ap.add_argument("--fallback-jars", default=None)
ap.add_argument("--out", required=True)
ap.add_argument("--report", default=None)
ap.add_argument("--exclude", default=None,
@@ -762,11 +761,10 @@ def main():
if ("." in s and "/" not in s) else s)
scan_jars = read_list(args.scan_jars)
def_jars = read_list(args.def_jars)
- fb_jars = read_list(args.fallback_jars) if args.fallback_jars else []
# defs: internal name -> (jar, info) (first jar wins)
defs = {}
- for jar in def_jars + fb_jars:
+ for jar in def_jars:
if not jar or not os.path.exists(jar):
print(f"warn: missing def jar {jar}", file=sys.stderr)
continue