Fix cmake_format
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
parent
7a5e0e13a5
commit
20549fdf0e
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
# Copyright (C) 2020-2021 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
@ -30,6 +30,7 @@ def remove_extra_spaces(line):
|
|||
line = re.sub(r'\)AND\(', ') AND (', line)
|
||||
line = re.sub(r'\)OR\(', ') OR (', line)
|
||||
line = re.sub(r'NOT\(', 'NOT (', line)
|
||||
line = re.sub(r' *\) *(?=[A-Z])', ') ', line)
|
||||
return line
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue