diff python/ppci/buildtasks.py @ 381:6df89163e114

Fix section and ldr pseudo instruction
author Windel Bouwman
date Sat, 26 Apr 2014 17:41:56 +0200
parents 9667d78ba79e
children 173e20a47fda
line wrap: on
line diff
--- a/python/ppci/buildtasks.py	Fri Apr 18 13:08:45 2014 +0200
+++ b/python/ppci/buildtasks.py	Sat Apr 26 17:41:56 2014 +0200
@@ -53,6 +53,8 @@
             raise TaskError('Error during assembly:' + str(e))
         except CompilerError as e:
             raise TaskError('Error during assembly:' + str(e))
+        except OSError as e:
+            raise TaskError('Error:' + str(e))
         with open(output_filename, 'w') as f:
             output.save(f)
         self.logger.debug('Assembling finished')