On 04/18/2013 01:42 PM, Michal Toman wrote:
Signed-off-by: Michal Toman <mtoman(a)redhat.com>
---
pyfaf/ureport.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyfaf/ureport.py b/pyfaf/ureport.py
index 971382b..17b86d4 100644
--- a/pyfaf/ureport.py
+++ b/pyfaf/ureport.py
@@ -384,7 +384,7 @@ def find_ureport_kb_solution(ureport, db, opsys_id=None):
btpath_parsers = get_kb_btpath_parsers(db, opsys_id=opsys_id)
for parser in btpath_parsers:
for frame in ureport["core_backtrace"]:
- if parser.match(frame["path"]):
+ if "path" in frame and parser.match(frame["path"]):
return btpath_parsers[parser]
pkg = ureport["installed_package"]
Both patches pushed, thanks.
--
Richard Marko