From df8300f54bd05d9e97cdd99f1a1487972ccc5f85 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 10 Feb 2012 20:49:16 +0100 Subject: [PATCH] Use vm.run instead of deprecated run_in_vm(vm, ...) (#421) --- qubesmanager/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 4560b5e..c97f7c3 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -932,7 +932,7 @@ class VmManagerWindow(QMainWindow): if vm.qid == 0: subprocess.check_call (["/usr/bin/qvm-dom0-update", "--gui"]) else: - qubesutils.run_in_vm(vm, "user:gpk-update-viewer", verbose=False, autostart=True) + vm.run("user:gpk-update-viewer", verbose=False, autostart=True) except Exception as ex: thread_monitor.set_error_msg(str(ex)) thread_monitor.set_finished()