1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

lvmdbusd: WS corrections

Fix mixed spaces & tabs and other ws issues.
This commit is contained in:
Tony Asleson 2016-11-16 10:46:09 -06:00
parent dcdef9647b
commit 2fbb90e403
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,7 @@ import datetime
import dbus import dbus
from lvmdbusd import cfg from lvmdbusd import cfg
# noinspection PyUnresolvedReferences
from gi.repository import GLib from gi.repository import GLib
import threading import threading
@ -508,6 +509,7 @@ def _async_result(call_back, results):
log_debug('Results = %s' % str(results)) log_debug('Results = %s' % str(results))
call_back(results) call_back(results)
# Return result in main thread # Return result in main thread
def mt_async_result(call_back, results): def mt_async_result(call_back, results):
GLib.idle_add(_async_result, call_back, results) GLib.idle_add(_async_result, call_back, results)