Skip to contentSkip to conversation

master - lvmdbusd: Remove unused imports and function parameter

PATCH tasleson 1 participant 1 message Jun 28, 2016

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c11003c860fe9242f49ba6ccffadd964501f1d1f
Commit:        c11003c860fe9242f49ba6ccffadd964501f1d1f
Parent:        dd5d865020acd545712d4bcc0f3236143de4d76d
Author:        Tony Asleson <[email protected]>
AuthorDate:    Tue Jun 28 12:44:45 2016 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Tue Jun 28 12:44:45 2016 -0500

lvmdbusd: Remove unused imports and function parameter

---
 daemons/lvmdbusd/background.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
daemons/lvmdbusd/background.py +2 -4
index ca3d60e..2c719fc 100644
@@ -13,9 +13,7 @@ from . import cfg
 import time
 from .cmdhandler import options_to_cli_args
 import dbus
-from .job import Job, JobState
-from .utils import pv_range_append, pv_dest_ranges, log_debug, log_error
-from .request import RequestEntry
+from .utils import pv_range_append, pv_dest_ranges, log_error
 import traceback
 
 _rlock = threading.RLock()
@@ -125,7 +123,7 @@ def background_reaper():
 		time.sleep(3)
 
 
-def background_execute(command, background_job, skip_first_line=False):
+def background_execute(command, background_job):
 
 	# Wrap this whole operation in an exception handler, otherwise if we
 	# hit a code bug we will silently exit this thread without anyone being