Skip to content

Commit e52fec0

Browse files
committed
Python: Fix code formatting
1 parent 0ce8e91 commit e52fec0

File tree

1 file changed

+1
-3
lines changed
  • python/ql/src/semmle/python/security/strings

1 file changed

+1
-3
lines changed

python/ql/src/semmle/python/security/strings/Basic.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ private predicate str_method_call(ControlFlowNode fromnode, CallNode tonode) {
7171
/* tonode = ....format(fromnode) */
7272
private predicate str_format(ControlFlowNode fromnode, CallNode tonode) {
7373
tonode.getFunction().(AttrNode).getName() = "format" and
74-
(
75-
tonode.getAnArg() = fromnode
76-
)
74+
tonode.getAnArg() = fromnode
7775
}
7876

7977
/* tonode = codec.[en|de]code(fromnode)*/

0 commit comments

Comments
 (0)