Repository navigation
Commit 04fff27
committed
Fix verify-ipv6-address.py crash on Python 3.14
The argparse help string contains "fe80::1%eth0" where "%e" is
interpreted as a printf-style format specifier. Python 3.14 added
eager validation of help strings at add_argument() time (cpython
commit eb2d268ac7), causing the script to crash with
"ValueError: badly formed help string" before it even parses the
address. This potentially breaks all IPv6 Zuul jobs on Resolute nodes.
Escape "%" as "%%" per the argparse documentation.
Closes-Bug: #2158736
Change-Id: Ieda0388548d5964ec9dbc3cff52540a19e9f5625
Signed-off-by: Omer <oschwart@redhat.com>1 parent ce1ed85 commit 04fff27
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments