From d3f9c0b169bbd001f71a1ae4c11a55c270c02970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 8 Feb 2016 20:22:51 +0100 Subject: [PATCH] storage: fix loading default storage pool qubes.config.defaults holds ['pool_drivers'] strings, not classes. --- qubes/storage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/storage/__init__.py b/qubes/storage/__init__.py index 3bd8f57e..65fa3f31 100644 --- a/qubes/storage/__init__.py +++ b/qubes/storage/__init__.py @@ -470,7 +470,7 @@ def _get_pool_klass(name, config=None): klass = load(config.get(name, 'class')) elif config.has_option(name, 'driver'): pool_driver = config.get(name, 'driver') - klass = qubes.config.defaults['pool_drivers'][pool_driver] + klass = load(qubes.config.defaults['pool_drivers'][pool_driver]) else: raise StoragePoolException('Uknown storage pool driver ' + name) return klass