| 1 |
Description: Use a raw string literal for the version banner |
| 2 |
The ASCII-art version banner contains backslash sequences that Python |
| 3 |
interprets as invalid escape sequences, emitting a SyntaxWarning at runtime. |
| 4 |
Mark the literal as a raw string to silence the warning. |
| 5 |
Author: Alexandre Detiste <[email protected]> |
| 6 |
Forwarded: no |
| 7 |
Last-Update: 2025-01-08 |
| 8 |
--- a/apkInspectorCLI/main.py |
| 9 |
+++ b/apkInspectorCLI/main.py |
| 10 |
@@ -60,7 +60,7 @@ |
| 11 |
args = parser.parse_args() |
| 12 |
|
| 13 |
if args.version: |
| 14 |
|
| 15 |
+ mm = r""" |
| 16 |
# _ _____ _ |
| 17 |
# | | |_ _| | | |
| 18 |
# __ _ _ __ | | __ | | _ __ ___ _ __ ___ ___ | |_ ___ _ __ |