From 6aac5d814820c9504e053f1dfa3be82605380066 Mon Sep 17 00:00:00 2001 From: Agnieszka Kostrzewa Date: Thu, 9 Feb 2012 08:33:28 +0100 Subject: [PATCH] tiny fix to QubesBlockDeviceManager --- qubesmanager/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index e503c71..a5d67a1 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -473,10 +473,10 @@ class QubesBlockDevicesManager(): self.current_attached[b] = att self.devs_changed = True - for b in self.current_blk: + for b in self.current_blk: #remove devices that are not there anymore if b not in blk: del self.current_blk[b] - del current_attached[b] + del self.current_attached[b] self.devs_changed = True if self.devs_changed == True: