Don't exec app.save() after add_pool & remove_pool

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-04-22 14:39:04 +02:00
parent d7ff4b9057
commit 04536c5950

View File

@ -1495,7 +1495,6 @@ class Qubes(PropertyHolder):
pool = self._get_pool(**kwargs)
pool.setup()
self.pools[name] = pool
self.save()
def remove_pool(self, name):
""" Remove a storage pool from config file. """
@ -1506,7 +1505,6 @@ class Qubes(PropertyHolder):
except KeyError:
return
self.save()
def get_pool(self, name):
''' Returns a :py:class:`qubes.storage.Pool` instance '''