--- source_compiz.py--orig 2012-06-20 04:43:52.000000000 -0400 +++ source_compiz.py 2012-06-28 21:33:18.000000000 -0400 @@ -1,9 +1,10 @@ import apport.packaging +from apport.hookutils import * def add_info(report, ui): # if it's a stacktrace, report it directly against the right component - if report.has_key("Stacktrace"): + if "Stacktrace" in report: for external_component in ("/usr/lib/libnux", "/usr/lib/compiz/libunityshell", "/usr/lib/libunity"): for words in report["Stacktrace"].split(): if words.startswith(external_component):