Commit 9842a80a by rajat29

Replace LOG.warn with LOG.warning

logging.warn is deprecated in Python 3 [1].

[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: If6bde5ef67327ba52a4590697d34b4cecb6898db
parent 7b1b261a
......@@ -77,7 +77,7 @@ def match_conditions(json_content, filter_conditions):
is_conditions_passed = False
break
else:
LOG.warn(" Filter string mismatch ")
LOG.warning(" Filter string mismatch ")
LOG.debug(" JSON CONTENT " + str(is_conditions_passed))
return is_conditions_passed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment