diff options
author | Chris Kay <chris.kay@arm.com> | 2018-08-14 15:48:23 +0100 |
---|---|---|
committer | davidcunado-arm <david.cunado@arm.com> | 2018-08-16 14:54:46 +0100 |
commit | b47374d5432cd7104dae39f5f080bc78287d28ee (patch) | |
tree | e8c67dac61ea63d4c5007574127df59880888151 /tools/check_spacing.py | |
parent | 688dca14cdd3df16f1721437840d04cc53b99c06 (diff) |
python: Fix PyCodeStyle errors
Change-Id: Idcebd8d6c3d1c1faede819caec3114ddbdfae51c
Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'tools/check_spacing.py')
-rwxr-xr-x | tools/check_spacing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_spacing.py b/tools/check_spacing.py index 49bc128a..afbb668b 100755 --- a/tools/check_spacing.py +++ b/tools/check_spacing.py @@ -120,7 +120,7 @@ def main(argv=[], prog_name=''): for keyword in KEYWORDS: regex_patterns[keyword] = re.compile( - '(.*\W)(%s)(\s*)(\(.*)' % keyword) + '(.*\\W)(%s)(\\s*)(\\(.*)' % keyword) # # Check files # |