code review after merge (removed unnecessary code-pieces resp. code-duplication)

pull/2030/merge
sebres 2018-01-22 11:10:22 +01:00
parent 05951a23a5
commit 7e1bc59f80
1 changed files with 0 additions and 2 deletions

View File

@ -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_")