Explorar el Código

app: fix listing VMs based on given template

Marek Marczykowski-Górecki hace 7 años
padre
commit
8ba60cd7e9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      qubes/app.py

+ 1 - 1
qubes/app.py

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