master - lvmdbusd: Do only 1 refresh for Vg.Change()
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=081359f6cd2ed8224992c91e99617ef576e01488 Commit: 081359f6cd2ed8224992c91e99617ef576e01488 Parent: 26b826ccf59b891a7947d9f7f2bacf8d0a5172a9 Author: Tony Asleson <[email protected]> AuthorDate: Thu Feb 25 16:34:51 2016 -0600 Committer: Tony Asleson <[email protected]> CommitterDate: Thu Feb 25 16:43:56 2016 -0600
lvmdbusd: Do only 1 refresh for Vg.Change()
Signed-off-by Tony Asleson <[email protected]>
--- daemons/lvmdbusd/vg.py | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
daemons/lvmdbusd/vg.py +1 -4
@@ -237,10 +237,7 @@ class Vg(AutomatedProperties): # locals(), ['Variant']).Variant("s", "n")} if rc == 0: - dbo.refresh() - - if (('activate' in change_options) or ('-a' in change_options)): - cfg.load() + cfg.load() else: raise dbus.exceptions.DBusException( VG_INTERFACE,