qubes/mgmt: encode VM name without quotes
That's how it is in the specification. QubesOS/qubes-issues#853
This commit is contained in:
parent
f4616fc366
commit
6ab7032b11
@ -137,7 +137,7 @@ class QubesMgmt(object):
|
|||||||
domains = self.fire_event_for_filter(self.app.domains)
|
domains = self.fire_event_for_filter(self.app.domains)
|
||||||
|
|
||||||
return ''.join('{} class={} state={}\n'.format(
|
return ''.join('{} class={} state={}\n'.format(
|
||||||
self.repr(vm),
|
vm.name,
|
||||||
vm.__class__.__name__,
|
vm.__class__.__name__,
|
||||||
vm.get_power_state())
|
vm.get_power_state())
|
||||||
for vm in sorted(domains))
|
for vm in sorted(domains))
|
||||||
|
Loading…
Reference in New Issue
Block a user