Oslandia / deeposlandia

Migrated to: https://gitlab.com/Oslandia/deeposlandia
MIT License
59 stars 16 forks source link

Remove all the sys.exit() statements #150

Closed delhomer closed 4 years ago

delhomer commented 4 years ago

This PR cleans the code, by removing all the sys.exit statements. The sys.exit(1) (generally coming with logger.error messages) are replaced by error raising.

The sys.exit(0) statement in datagen.py is removed, as it is completely useless.

Linked issue: #149