034928cf35613b98ad7e9a4ae206f14a0a86e188,loudml-influx/loudml/influx.py,,_build_tags_predicates,#Any#,211
Before Change
for item in match_all:
must.append("\"{}\"="{}"".format(
escape_doublequotes(item["tag"]),
escape_quotes(str(item["value"])) ,
))
return must
After Change
if match_all:
for condition in match_all:
val = condition["value"]
if isinstance(val, str):
val = ""{}"".format(escape_quotes(val))
else:
val = str(val)
must.append("\"{}\"={}".format(
escape_doublequotes(condition["tag"]),
val,
))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances Project Name: regel/loudml
Commit Name: 034928cf35613b98ad7e9a4ae206f14a0a86e188
Time: 2018-04-30
Author: sebastien.regel@gmail.com
File Name: loudml-influx/loudml/influx.py
Class Name:
Method Name: _build_tags_predicates
Project Name: regel/loudml
Commit Name: c1df2425493c63b2ccf1db1be5b59f789ee96b47
Time: 2018-05-18
Author: sebastien.regel@gmail.com
File Name: loudml-influx/loudml/influx.py
Class Name:
Method Name: _build_tags_predicates
Project Name: regel/loudml
Commit Name: 95bf720c3df41985512f5ea7af9fd445ce11060b
Time: 2018-05-18
Author: sebastien.regel@gmail.com
File Name: loudml-influx/loudml/influx.py
Class Name:
Method Name: _build_tags_predicates