Re: [libvirt] [PATCH v2 02/24] cfg.mk: fix comment detection for python semicolon check

2019-09-11 Thread Eric Blake
On 9/11/19 11:23 AM, Daniel P. Berrangé wrote: > The pattern > > ^[^#].*\;$$ > > Was attempting to detect any trailing ';' in python code > which was not in a comment. This does not allow for the > comment '#' character to be indented with whitespace. > > Signed-off-by: Daniel P. Berrangé

[libvirt] [PATCH v2 02/24] cfg.mk: fix comment detection for python semicolon check

2019-09-11 Thread Daniel P . Berrangé
The pattern ^[^#].*\;$$ Was attempting to detect any trailing ';' in python code which was not in a comment. This does not allow for the comment '#' character to be indented with whitespace. Signed-off-by: Daniel P. Berrangé --- cfg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)