mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
code review after merge (removed unnecessary code-pieces resp. code-duplication)
This commit is contained in:
parent
05951a23a5
commit
7e1bc59f80
1 changed files with 0 additions and 2 deletions
|
|
@ -172,8 +172,6 @@ class DatabaseTest(LogCaptureTestCase):
|
|||
os.remove(self.db._dbBackupFilename)
|
||||
|
||||
def testUpdateDb2(self):
|
||||
if Fail2BanDb is None: # pragma: no cover
|
||||
return
|
||||
self.db = None
|
||||
if self.dbFilename is None: # pragma: no cover
|
||||
_, self.dbFilename = tempfile.mkstemp(".db", "fail2ban_")
|
||||
|
|
|
|||
Loading…
Reference in a new issue