← Back to team overview

apport-hackers team mailing list archive

[Merge] lp:~brian-murray/apport/bug-729622 into lp:apport

 

Brian Murray has proposed merging lp:~brian-murray/apport/bug-729622 into lp:apport.

Requested reviews:
  Apport upstream developers (apport-hackers)
Related bugs:
  Bug #729622 in apport (Ubuntu): "dump_acpi_tables.py crashed with OSError in dump_acpi_tables(): [Errno 2] No such file or directory: '/sys/firmware/acpi/tables'"
  https://bugs.launchpad.net/ubuntu/+source/apport/+bug/729622

For more details, see:
https://code.launchpad.net/~brian-murray/apport/bug-729622/+merge/57964
-- 
https://code.launchpad.net/~brian-murray/apport/bug-729622/+merge/57964
Your team Apport upstream developers is requested to review the proposed merge of lp:~brian-murray/apport/bug-729622 into lp:apport.
=== modified file 'data/dump_acpi_tables.py'
--- data/dump_acpi_tables.py	2010-07-13 05:42:32 +0000
+++ data/dump_acpi_tables.py	2011-04-15 22:37:32 +0000
@@ -49,4 +49,5 @@
         else:
             dump_acpi_table(pathname, tablename, out)
 
-dump_acpi_tables('/sys/firmware/acpi/tables', sys.stdout)
+if os.path.isdir('/sys/firmware/acpi/tables'):
+    dump_acpi_tables('/sys/firmware/acpi/tables', sys.stdout)