diff options
| author | Kelno <kelno@users.noreply.github.com> | 2020-09-16 14:39:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-16 14:39:23 +0200 |
| commit | 06d39871250162427044894fc5cc62624209446b (patch) | |
| tree | 65511e56319fa3304001b236fe1abc90340fe435 | |
| parent | 9d959123e68020a83c780f53a967b3589cb70786 (diff) | |
Contrib/EnumUtils: Fixed enumutils_describe.py matching every extension ending with a 'h' (like .sh) instead of only .h file (PR #25462)
| -rw-r--r-- | contrib/enumutils_describe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/enumutils_describe.py b/contrib/enumutils_describe.py index 70dca43238c..3f20c75df4d 100644 --- a/contrib/enumutils_describe.py +++ b/contrib/enumutils_describe.py @@ -155,7 +155,7 @@ def processFile(path, filename): output.write('}\n') -FilenamePattern = compile(r'^(.+).h$') +FilenamePattern = compile(r'^(.+)\.h$') for root, dirs, files in walk('.'): for n in files: nameMatch = FilenamePattern.match(n) |
