Python: Fix filename example

I got my eyes on this one since it was using a deprecated method, BUT it was
also doing the thing, since File.getName() is the same as
File.getAbsolutePath(), and that doesn't match the description :\
This commit is contained in:
Rasmus Wriedt Larsen
2020-05-25 13:17:32 +02:00
parent b9ecf1a304
commit 74167923bc

View File

@@ -8,5 +8,5 @@
import python
from File f
where f.getName() = "spam.py"
where f.getShortName() = "spam.py"
select f