Skip to content

Commit c0cde8f

Browse files
committed
DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
1 parent fd1fb24 commit c0cde8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyxt/process.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async def process_lines(command, *, got_output, kill_on_cancel=True, **kw):
2929
proc = await create_subprocess_exec(
3030
*command, stdout=PIPE, stderr=STDOUT, **kw)
3131
except Exception as err:
32-
log.warn("cannot open process: %s", cmd, exc_info=True)
32+
log.warning("cannot open process: %s", cmd, exc_info=True)
3333
got_output(None, -1, str(err))
3434
return
3535
try:

0 commit comments

Comments
 (0)