mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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/>.
|
||||
|
||||
import dbus
|
||||
import dbus.service
|
||||
from . import cfg
|
||||
from .utils import get_properties, add_properties, get_object_property_diff, \
|
||||
log_debug
|
||||
|
@ -16,6 +16,7 @@ from . import cmdhandler
|
||||
import time
|
||||
import signal
|
||||
import dbus
|
||||
import dbus.mainloop.glib
|
||||
from . import lvmdb
|
||||
# noinspection PyUnresolvedReferences
|
||||
from gi.repository import GLib
|
||||
|
@ -16,8 +16,6 @@ import string
|
||||
import datetime
|
||||
|
||||
import dbus
|
||||
import dbus.service
|
||||
import dbus.mainloop.glib
|
||||
from lvmdbusd import cfg
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user