소스 검색

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')