containers / udica

This repository contains a tool for generating SELinux security profiles for containers
GNU General Public License v3.0
488 stars 47 forks source link

Improve parse error handling #29

Closed TristanCacqueray closed 5 years ago

TristanCacqueray commented 5 years ago

This change moves the try/except from the parser module to the main module to avoid calling exit in the utility procedures and to give the main body a chance to print an error message.

janzarsky commented 5 years ago

Ack.

This is very reasonable. I will post some further improvements based on this patch.

wrabcak commented 5 years ago

LGTM. Thanks for PR and review.

Lukas.