Skip to content

Commit

Permalink
Code review: 342780043: Changed docstrings for codebase consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Mar 24, 2018
1 parent 217e7d5 commit e768ad6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/dpkg/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ plaso (20180324-1) unstable; urgency=low

* Auto-generated

-- Log2Timeline <log2timeline-dev@googlegroups.com> Sat, 24 Mar 2018 14:42:22 +0100
-- Log2Timeline <log2timeline-dev@googlegroups.com> Sat, 24 Mar 2018 14:48:19 +0100
3 changes: 1 addition & 2 deletions plaso/multi_processing/psort.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,7 @@ def _StartWorkerProcess(self, process_name, storage_writer):
to create task storage.
Returns:
MultiProcessWorkerProcess|None: extraction worker process or None on
error.
MultiProcessWorkerProcess: extraction worker process or None on error.
"""
analysis_plugin = self._analysis_plugins.get(process_name, None)
if not analysis_plugin:
Expand Down
3 changes: 1 addition & 2 deletions plaso/output/l2t_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ def _GetOutputValues(self, event):
event (EventObject): event.
Returns:
list[str]|None: output values or None if no timestamp was present in the
event.
list[str]: output values or None if no timestamp was present in the event.
Raises:
NoFormatterFound: If no event formatter can be found to match the data
Expand Down
2 changes: 1 addition & 1 deletion plaso/parsers/pe.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def _GetLoadConfigTimestamp(self, pefile_object):
pefile_object (pefile.PE): pefile object.
Returns:
int|None: load configuration timestamps or None if there are none present.
int: load configuration timestamps or None if there are none present.
"""
if not hasattr(pefile_object, 'DIRECTORY_ENTRY_LOAD_CONFIG'):
return None
Expand Down

0 comments on commit e768ad6

Please sign in to comment.