From 5db67fca8d9d468634647d4fc30d51c8a84a29fa Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Mon, 7 Nov 2016 23:26:53 +0100 Subject: [PATCH] Fix init property swap in DomainVolumes --- qubes/storage/domain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubes/storage/domain.py b/qubes/storage/domain.py index dce2acde..9159b775 100644 --- a/qubes/storage/domain.py +++ b/qubes/storage/domain.py @@ -86,8 +86,8 @@ class DomainPool(Pool): devices[name][atr] = value - return [DomainVolume(n, self.vm, self.name, **atrs) - for n, atrs in devices.items()] + return [DomainVolume(self.vm, _name, self.name, **atrs) + for _name, atrs in devices.items()] def clone(self, source, target): raise NotImplementedError