app: fix listing VMs based on given template

This commit is contained in:
Marek Marczykowski-Górecki 2017-06-13 13:15:21 +02:00
parent 93ccb8bbda
commit 8ba60cd7e9
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1060,7 +1060,7 @@ class Qubes(qubes.PropertyHolder):
raise qubes.exc.QubesException( raise qubes.exc.QubesException(
'Cannot remove template that has dependent AppVMs. ' 'Cannot remove template that has dependent AppVMs. '
'Affected are: {}'.format(', '.join( 'Affected are: {}'.format(', '.join(
vm.name for name in sorted(appvms)))) appvm.name for appvm in sorted(appvms))))
@qubes.events.handler('domain-delete') @qubes.events.handler('domain-delete')