Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2150)

Unified Diff: plaso/cli/log2timeline_tool.py

Issue 150170043: [plaso] Made preprocessing artifact driven #155 (Closed)
Patch Set: Changes after review Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: plaso/cli/log2timeline_tool.py
diff --git a/plaso/cli/log2timeline_tool.py b/plaso/cli/log2timeline_tool.py
index 6347aa063332ebdc80e8c47828d90cc505ea1a06..f7204898af8f6a0583aefcf152b83e50fd8fd106 100644
--- a/plaso/cli/log2timeline_tool.py
+++ b/plaso/cli/log2timeline_tool.py
@@ -104,6 +104,7 @@ class Log2TimelineTool(
"""
super(Log2TimelineTool, self).__init__(
input_reader=input_reader, output_writer=output_writer)
+ self._artifacts_registry = None
self._command_line_arguments = None
self._enable_sigsegv_handler = False
self._filter_expression = None
@@ -543,7 +544,8 @@ class Log2TimelineTool(
try:
extraction_engine.PreprocessSources(
- self._source_path_specs, resolver_context=self._resolver_context)
+ self._artifacts_registry, self._source_path_specs,
+ resolver_context=self._resolver_context)
except IOError as exception:
logging.error(u'Unable to preprocess with error: {0:s}'.format(exception))

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b