Commit 01b31af6 authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent 846353ec
......@@ -40,4 +40,4 @@ class QueryFilter
{
return preg_replace("/[^0-9,a-z,A-Z, ,*,-]/", "", $value);
}
}
\ No newline at end of file
}
......@@ -69,5 +69,3 @@ def reverse_log_reader(filename, block_size = 8192, start_pos=None):
if file_byte_start == 0:
break
......@@ -47,4 +47,3 @@ def updateParams(parameters):
if cmd in parameters and arg.strip() != '':
parameters[cmd] = arg.strip()
cmd=None
......@@ -239,4 +239,3 @@ class RuleCache(object):
result.append(record[0])
return sorted(result)
......@@ -113,4 +113,4 @@ for line in reverse_log_reader(filename=suricata_log, start_pos=log_start_pos):
break
# output results
print(ujson.dumps(result))
\ No newline at end of file
print(ujson.dumps(result))
......@@ -45,4 +45,3 @@ command:/usr/local/etc/rc.d/suricata status
parameters:
type:script_output
message:get suricata daemon status
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment