Skip to content

Commit 81fab48

Browse files
RasmusWLtausbn
andauthored
Python: Apply suggestions from code review
Co-authored-by: Taus <[email protected]>
1 parent 22c1556 commit 81fab48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/dataflow/new/internal/Attributes.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ abstract class AttrRef extends Node {
2121
* Holds if this data flow node accesses attribute named `attrName` on object `object`.
2222
*/
2323
predicate accesses(Node object, string attrName) {
24-
this.getObject() = object and getAttributeName() = attrName
24+
this.getObject() = object and this.getAttributeName() = attrName
2525
}
2626

2727
/**

0 commit comments

Comments
 (0)