|
@@ -84,7 +84,7 @@ def list_pools(app):
|
|
''' Prints out all known pools and their drivers '''
|
|
''' Prints out all known pools and their drivers '''
|
|
result = [('NAME', 'DRIVER')]
|
|
result = [('NAME', 'DRIVER')]
|
|
for pool in app.pools.values():
|
|
for pool in app.pools.values():
|
|
- if len(pool.volumes) == 0 and issubclass(
|
|
|
|
|
|
+ if not pool.volumes and issubclass(
|
|
pool.__class__, qubes.storage.domain.DomainPool):
|
|
pool.__class__, qubes.storage.domain.DomainPool):
|
|
# skip empty DomainPools
|
|
# skip empty DomainPools
|
|
continue
|
|
continue
|