James Slagle 9d7a9b83ed Re-raise same exception type in export_stream
tripleo-container-image-prepare can consume a lot of memory during
the export. Previously, when a MemoryError was raised by python, the
exception was hidden because there was no message in the exception and
the code re-raised an IOError.

This patch updates the code so that a MemoryError is specifically caught
if one was thrown, and an accurate message is logged.

Change-Id: I6de47600f430d3af5e3052ff456cd718a0df0d76
2019-11-07 09:46:14 -05:00
..
2015-04-29 13:34:49 +02:00
2015-04-29 13:34:49 +02:00
2018-12-31 16:54:36 +00:00