From 6c8327e39f66110d7ab237c57b9b416f6bcf0dca Mon Sep 17 00:00:00 2001 From: sebres Date: Tue, 6 May 2014 20:24:49 +0200 Subject: [PATCH] indentation level fix --- fail2ban/tests/databasetestcase.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fail2ban/tests/databasetestcase.py b/fail2ban/tests/databasetestcase.py index baea6eeb..99c050a3 100644 --- a/fail2ban/tests/databasetestcase.py +++ b/fail2ban/tests/databasetestcase.py @@ -323,8 +323,8 @@ class BanTimeIncr(unittest.TestCase): ticket = FailTicket(ip, stime, []) # test ticket not yet found self.assertEqual( - [a.incrBanTime(ticket) for i in xrange(3)], - [10, 10, 10] + [a.incrBanTime(ticket) for i in xrange(3)], + [10, 10, 10] ) # add a ticket banned self.db.addBan(jail, ticket) @@ -347,7 +347,7 @@ class BanTimeIncr(unittest.TestCase): [(banCount, timeOfBan, lastBanTime) for banCount, timeOfBan, lastBanTime in self.db.getBan(ip, '', None, True)], [(2, stime + 15, 20)] ) - # search currently banned and 1 day later (nothing should be found): + # search currently banned and 1 day later (nothing should be found): self.assertEqual( self.db.getCurrentBans(forbantime=-24*60*60, fromtime=stime), []