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 758a5d7 commit 3e9ee88Copy full SHA for 3e9ee88
1 file changed
python/ql/lib/semmle/python/filters/GeneratedCode.qll
@@ -51,7 +51,7 @@ private string comment_or_docstring(File f, boolean before_code) {
51
c.getLocation().getFile() = f and
52
result = c.getText()
53
|
54
- if isBeforeCode(c, f) then before_code = true else before_code = false
+ if isBeforeCode(c, f) then before_code = false else before_code = true
55
)
56
or
57
exists(Module m | m.getFile() = f |
0 commit comments