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

Unified Diff: plaso/cli/time_slices.py

Issue 339330043: [plaso] Remove inconsistent return values from Plaso module #1748 (Closed)
Patch Set: Created 6 years 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
« no previous file with comments | « plaso/cli/storage_media_tool.py ('k') | plaso/dependencies.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plaso/cli/time_slices.py
diff --git a/plaso/cli/time_slices.py b/plaso/cli/time_slices.py
index 57e60caf92e51ae25a4e81b21434d84de1e9a88b..86e10adfd35eb84ef121aca28667e7362f44fd46 100644
--- a/plaso/cli/time_slices.py
+++ b/plaso/cli/time_slices.py
@@ -37,9 +37,13 @@ class TimeSlice(object):
return self.event_timestamp + (
self.duration * self._MICRO_SECONDS_PER_MINUTE)
+ return None
+
@property
def start_timestamp(self):
"""int: slice start timestamp or None."""
if self.event_timestamp:
return self.event_timestamp - (
self.duration * self._MICRO_SECONDS_PER_MINUTE)
+
+ return None
« no previous file with comments | « plaso/cli/storage_media_tool.py ('k') | plaso/dependencies.py » ('j') | no next file with comments »

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