Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce8e91 commit e52fec0Copy full SHA for e52fec0
1 file changed
python/ql/src/semmle/python/security/strings/Basic.qll
@@ -71,9 +71,7 @@ private predicate str_method_call(ControlFlowNode fromnode, CallNode tonode) {
71
/* tonode = ....format(fromnode) */
72
private predicate str_format(ControlFlowNode fromnode, CallNode tonode) {
73
tonode.getFunction().(AttrNode).getName() = "format" and
74
- (
75
- tonode.getAnArg() = fromnode
76
- )
+ tonode.getAnArg() = fromnode
77
}
78
79
/* tonode = codec.[en|de]code(fromnode)*/
0 commit comments