Skip to content
Commit a03aab75 authored by Jussi Pakkanen's avatar Jussi Pakkanen Committed by Stefan Sauer
Browse files

scan: Workaround for pathological regex parsing

Replace consecutive spaces with one to avoid bad performance for a particullar regex.

As pointed out in upstream python issue discusssion avoid matching empty strings.
This happens when no --ignore-decorators are given. This halfs the time for the regex
already.

https://bugzilla.gnome.org/show_bug.cgi?id=781569
parent bcc8fdf3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment