Commit 7099aa1
committed
Add module-level
v1.12.4 moved the regex pre-compilation up to module scope but the
original vfb_queries.py only imported re lazily inside the old
encode_label function. Docker Image CI for v1.12.4 failed at module
import with `NameError: name 're' is not defined` on line 344.
One-line fix. py_compile clean. No behavioural change.import re (fixes v1.12.4 NameError)1 parent 60d96e7 commit 7099aa1
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments