ソースを参照

app: fix listing VMs based on given template

Marek Marczykowski-Górecki 7 年 前
コミット
8ba60cd7e9
1 ファイル変更1 行追加1 行削除
  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')