fixed spot_decoder()
Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/8ff0e473 Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/8ff0e473 Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/8ff0e473 Branch: refs/heads/master Commit: 8ff0e4730dd05e10bf8908ed7691dd85a4cf35ff Parents: b5cf634 Author: tpltnt <tpltnt.git...@dropcut.net> Authored: Thu Jan 25 11:40:54 2018 +0100 Committer: tpltnt <tpltnt.git...@dropcut.net> Committed: Thu Jan 25 11:40:54 2018 +0100 ---------------------------------------------------------------------- spot-ingest/pipelines/proxy/bluecoat.py | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/8ff0e473/spot-ingest/pipelines/proxy/bluecoat.py ---------------------------------------------------------------------- diff --git a/spot-ingest/pipelines/proxy/bluecoat.py b/spot-ingest/pipelines/proxy/bluecoat.py index 54c3b28..5667204 100644 --- a/spot-ingest/pipelines/proxy/bluecoat.py +++ b/spot-ingest/pipelines/proxy/bluecoat.py @@ -88,11 +88,17 @@ def main(): def spot_decoder(s): + """ + Dummy decoder function. + :param s: input to decode + :returns: s + """ if s is None: return None return s + def split_log_entry(line): """ Split the given line into its fields. @@ -106,6 +112,7 @@ def split_log_entry(line): lex.commenters = '' return list(lex) + def proxy_parser(proxy_fields): """ Parse and normalize data.