From 12745a4860134ce5b30fb17c454044a6f6486036 Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Sat, 28 May 2016 21:07:29 +0200 Subject: [PATCH] Qubes.add_pool() returns the added pool --- qubes/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubes/app.py b/qubes/app.py index 30570e6e..805a64f4 100644 --- a/qubes/app.py +++ b/qubes/app.py @@ -911,6 +911,7 @@ class Qubes(qubes.PropertyHolder): pool = self._get_pool(**kwargs) pool.setup() self.pools[name] = pool + return pool def remove_pool(self, name): """ Remove a storage pool from config file. """