Skip to content

Commit 14ab474

Browse files
committed
Add type hint and TODO comment
1 parent 4efa071 commit 14ab474

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

UDKTests/run_udk_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def download_file(url: str, out_file: Path, progress_bar: bool = True):
232232
def remove_old_extracted(cache: Cache):
233233
print("removing old extracted files, if any")
234234

235-
dirs = []
235+
dirs: list[Path] = []
236236

237237
for file in cache.pkg_archive_extracted_files:
238238
p = Path(file).resolve()
@@ -265,6 +265,7 @@ def already_extracted(archive_file: str, out_dir: Path, cache: Cache) -> bool:
265265

266266
# Convince UDK.exe to flush the log file.
267267
# TODO: this is fucking stupid.
268+
# TODO: also not needed since -FORCELOGFLUSH is enabled.
268269
def poke_file(file: Path, event: threading.Event):
269270
while not event.is_set():
270271
file.stat()

0 commit comments

Comments
 (0)