Skip to content

Commit 5934345

Browse files
committed
Python: Fix formatting.
1 parent c759e89 commit 5934345

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

python/ql/src/analysis/DefinitionTracking.qll

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -496,12 +496,13 @@ class NiceLocationExpr extends @py_expr {
496496
*/
497497
cached
498498
Definition definitionOf(NiceLocationExpr use, string kind) {
499-
exists(string f, int l |
500-
result = getUniqueDefinition(use) and
501-
kind = "Definition" and
502-
use.hasLocationInfo(f, l, _, _, _) and
503-
// Ignore if the definition is on the same line as the use
504-
not result.getLocation().hasLocationInfo(f, l, _, _, _))
499+
exists(string f, int l |
500+
result = getUniqueDefinition(use) and
501+
kind = "Definition" and
502+
use.hasLocationInfo(f, l, _, _, _) and
503+
// Ignore if the definition is on the same line as the use
504+
not result.getLocation().hasLocationInfo(f, l, _, _, _)
505+
)
505506
}
506507

507508
/**

0 commit comments

Comments
 (0)