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:
parent
dcdef9647b
commit
2fbb90e403
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user