fix indent in fail2ban-getlog

This commit is contained in:
Julien Pecqueur 2017-09-04 10:00:35 +02:00
parent b4d73d4e1b
commit 420af736c6

View file

@ -13,8 +13,8 @@ else:
old = [] old = []
for l in f_old: for l in f_old:
old.append(l[0:-1]) old.append(l[0:-1])
f_old.close() f_old.close()
print(len(old), "existing line(s).") print(len(old), "existing line(s).")
f_in = open(F_LOG, "r") f_in = open(F_LOG, "r")
f_out = open(argv[1], "a+") f_out = open(argv[1], "a+")
c = 0 c = 0