minor residual cleanups

pull/1483/head
Yaroslav Halchenko 8 years ago
parent fcda7c9ac7
commit 3c42b4f56e

@ -270,7 +270,6 @@ class Fail2banCmdLine():
@staticmethod
def exit(code=0):
logSys.debug("Exit with code %s", code)
# import pdb; pdb.set_trace()
Fail2banCmdLine._exit(code)

@ -419,7 +419,7 @@ class Fail2banClientTest(Fail2banClientServerBase):
global INTERACT
startparams = _start_params(tmp, logtarget=pjoin(tmp, "f2b.log"))
# start (in new process, using the same python version):
cmd = (sys.executable, pjoin(pjoin(BIN), CLIENT))
cmd = (sys.executable, pjoin(BIN, CLIENT))
logSys.debug('Start %s ...', cmd)
cmd = cmd + startparams + ("--async", "start",)
ret = Utils.executeCmd(cmd, timeout=MAX_WAITTIME, shell=False, output=True)
@ -550,7 +550,7 @@ class Fail2banServerTest(Fail2banClientServerBase):
# to prevent fork of test-cases process, start server in background via command:
startparams = _start_params(tmp, logtarget=pjoin(tmp, "f2b.log"))
# start (in new process, using the same python version):
cmd = (sys.executable, pjoin(pjoin(BIN), SERVER))
cmd = (sys.executable, pjoin(BIN, SERVER))
logSys.debug('Start %s ...', cmd)
cmd = cmd + startparams + ("-b",)
ret = Utils.executeCmd(cmd, timeout=MAX_WAITTIME, shell=False, output=True)

Loading…
Cancel
Save