micropython/micropython — pull request #501 by dhylands (2014-04-16 17:06:06+00:00)
Title: Remove generated .h file if the generation process fails.

If the script fails for any reason, or python isn't installed, we don't want to leave an incomplete qstrdefs.generated.h lying around.