Skip to content

Commit 66bceaa

Browse files
committed
Fix DeprecationWarning: The 'warn' method is deprec.
Launcher tests showed a warning about warnings that should use 'warning' instead of 'warn()' (test on: openqa)
1 parent ef79876 commit 66bceaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdw_updater/Updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def _qubes_updater_parse_progress(stream, result, templates, progress_callback=N
204204
try:
205205
vm, status, info = line.split()
206206
except ValueError:
207-
sdlog.warn("Line in Qubes updater's output could not be parsed")
207+
sdlog.warning("Line in Qubes updater's output could not be parsed")
208208
continue
209209

210210
if status == "updating":

0 commit comments

Comments
 (0)