Index: plaso/lib/pfilter.py |
diff --git a/plaso/lib/pfilter.py b/plaso/lib/pfilter.py |
index 502ebd52c650a7a949dccc3f99c1023d2c628000..c1498404ff7b9bd925a5bec310f4bd54656895d7 100644 |
--- a/plaso/lib/pfilter.py |
+++ b/plaso/lib/pfilter.py |
@@ -79,6 +79,8 @@ class DictObject(object): |
if test in self._dict_translated: |
return self._dict_translated.get(test) |
+ return None |
+ |
class PlasoValueExpander(objectfilter.AttributeValueExpander): |
"""An expander that gives values based on object attribute names.""" |
@@ -146,6 +148,8 @@ class PlasoValueExpander(objectfilter.AttributeValueExpander): |
_, source_long = self._GetSources(obj) |
return source_long |
+ return None |
+ |
def _GetAttributeName(self, path): |
return path[0].lower() |