Skip to content

Commit 5f0d16c

Browse files
committed
[FIX] tools/graph-upgrade-timing.py: correct regex
Allow matching module names with digits and uppercase letters. Don't ignore `l10n_` modules anymore. closes #30 Signed-off-by: Christophe Simonis (chs) <[email protected]>
1 parent 3c941e9 commit 5f0d16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/graph-upgrade-timing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def process(options):
1818
if match:
1919
dt = match.group(1)
2020

21-
match = re.search(r"Module ([a-z_]+) loaded in (\d+\.\d\d)s, \d+ queries", line)
21+
match = re.search(r"Module ([a-zA-Z0-9_]+) loaded in (\d+\.\d\d)s, \d+ queries", line)
2222
if match:
2323
time = float(match.group(2))
2424
if time > options.min_time:

0 commit comments

Comments
 (0)