Skip to content

Commit 26e6bd0

Browse files
committed
Merge branch 'strip-debug' of github.com:taegyunkim/auditwheel into strip-debug
2 parents 4dd3514 + 3a00123 commit 26e6bd0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/auditwheel/main_repair.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,19 +277,21 @@ def execute(args: argparse.Namespace, parser: argparse.ArgumentParser) -> int:
277277
# Handle argument validation and backward compatibility
278278
if args.STRIP and args.STRIP_LEVEL != "none":
279279
parser.error("Cannot specify both --strip and --strip-level")
280-
280+
281281
if args.STRIP:
282282
warnings.warn(
283283
"The --strip option is deprecated. Use --strip-level=all instead.",
284284
DeprecationWarning,
285-
stacklevel=2
285+
stacklevel=2,
286286
)
287-
287+
288288
if args.COLLECT_DEBUG_SYMBOLS and args.STRIP_LEVEL == "none" and not args.STRIP:
289-
parser.error("--collect-debug-symbols requires stripping to be enabled. Use --strip-level or --strip.")
290-
289+
parser.error(
290+
"--collect-debug-symbols requires stripping to be enabled. Use --strip-level or --strip."
291+
)
292+
291293
strip_level = StripLevel(args.STRIP_LEVEL)
292-
294+
293295
patcher = Patchelf()
294296
out_wheel = repair_wheel(
295297
wheel_abi,

0 commit comments

Comments
 (0)