From 190f045c07585972b8ac07f109a0d161107430c6 Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Mon, 11 Jul 2016 12:50:37 +0200 Subject: [PATCH] Fix qvm-prefs --- qubes/tools/qvm_prefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/tools/qvm_prefs.py b/qubes/tools/qvm_prefs.py index ee536011..52d24124 100644 --- a/qubes/tools/qvm_prefs.py +++ b/qubes/tools/qvm_prefs.py @@ -61,6 +61,7 @@ parser.add_argument('--unset', '--default', '--delete', '-D', def main(args=None): args = parser.parse_args(args) + args.domain = args.domains.pop() if args.property is None: properties = args.domain.property_list() @@ -97,7 +98,6 @@ def main(args=None): args.app.save() return 0 - print(str(getattr(args.domain, args.property))) return 0