Skip to content

Commit 6f1f926

Browse files
authored
Merge pull request github#3552 from RasmusWL/python-fix-filename-example
Approved by tausbn
2 parents bc09720 + 7416792 commit 6f1f926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/examples/snippets/filename.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
import python
99

1010
from File f
11-
where f.getName() = "spam.py"
11+
where f.getShortName() = "spam.py"
1212
select f

0 commit comments

Comments
 (0)