Remove the extra parentheses

Change-Id: I185536189cc3943906b2e2cc7478bf6386377ea1
This commit is contained in:
wangqi 2018-02-25 11:15:03 +00:00
parent d37036a6e2
commit 87fc1922da

View File

@ -24,7 +24,7 @@ def no_log_warn(logical_line):
K302
"""
msg = ("K302: LOG.warn is deprecated, please use LOG.warning!")
msg = "K302: LOG.warn is deprecated, please use LOG.warning!"
if "LOG.warn(" in logical_line:
yield (0, msg)