Skip to contentSkip to conversation

master - lvmdbusd: Correct imports

PATCH tasleson 1 participant 1 message Sep 19, 2016

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ec821d37a845f448230d114188f2a0d7623976dc
Commit:        ec821d37a845f448230d114188f2a0d7623976dc
Parent:        c23d5f63fdc7c56b41d8863e4bb4c20bfc1950f3
Author:        Tony Asleson <[email protected]>
AuthorDate:    Mon Sep 19 10:29:26 2016 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Mon Sep 19 15:32:47 2016 -0500

lvmdbusd: Correct imports

Place the imports in the files where they are directly needed.

---
 daemons/lvmdbusd/automatedproperties.py |    1 +
 daemons/lvmdbusd/main.py                |    1 +
 daemons/lvmdbusd/utils.py               |    2 --
 3 files changed, 2 insertions(+), 2 deletions(-)
daemons/lvmdbusd/automatedproperties.py +1 -0
index aff920c..5e14d61 100644
@@ -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
daemons/lvmdbusd/main.py +1 -0
index 65a66db..9f7b928 100644
@@ -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
daemons/lvmdbusd/utils.py +0 -2
index 4fb6a6c..ef7e61f 100644
@@ -16,8 +16,6 @@ import string
 import datetime
 
 import dbus
-import dbus.service
-import dbus.mainloop.glib
 from lvmdbusd import cfg