Forráskód Böngészése

app: fix listing VMs based on given template

Marek Marczykowski-Górecki 7 éve
szülő
commit
8ba60cd7e9
1 módosított fájl, 1 hozzáadás és 1 törlés
  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')