Commit 466d91af authored by Benjamin Berg's avatar Benjamin Berg Committed by Georges Basile Stavracas Neto
Browse files

tests/network: Fix deprecation warning in NM test service

This just fixes a simple deprecation warning in the NetworkManager test
parent 9bab137b
......@@ -1428,7 +1428,7 @@ def main():
# Watch stdin; if it closes, assume our parent has crashed, and exit
io = GLib.IOChannel(0)
io.add_watch(GLib.IOCondition.HUP, stdin_cb)
GLib.io_add_watch(io, GLib.PRIORITY_LOW, GLib.IOCondition.HUP, stdin_cb)
# also quit after inactivity to ensure we don't stick around if the above fails somehow
GLib.timeout_add_seconds(20, quit_cb, None)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment