mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
lvmdbusd: Correct imports
Place the imports in the files where they are directly needed.
This commit is contained in:
parent
c23d5f63fd
commit
ec821d37a8
@ -8,6 +8,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import dbus
|
import dbus
|
||||||
|
import dbus.service
|
||||||
from . import cfg
|
from . import cfg
|
||||||
from .utils import get_properties, add_properties, get_object_property_diff, \
|
from .utils import get_properties, add_properties, get_object_property_diff, \
|
||||||
log_debug
|
log_debug
|
||||||
|
@ -16,6 +16,7 @@ from . import cmdhandler
|
|||||||
import time
|
import time
|
||||||
import signal
|
import signal
|
||||||
import dbus
|
import dbus
|
||||||
|
import dbus.mainloop.glib
|
||||||
from . import lvmdb
|
from . import lvmdb
|
||||||
# noinspection PyUnresolvedReferences
|
# noinspection PyUnresolvedReferences
|
||||||
from gi.repository import GLib
|
from gi.repository import GLib
|
||||||
|
@ -16,8 +16,6 @@ import string
|
|||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
import dbus
|
import dbus
|
||||||
import dbus.service
|
|
||||||
import dbus.mainloop.glib
|
|
||||||
from lvmdbusd import cfg
|
from lvmdbusd import cfg
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user