• Médéric Boquien's avatar
    So far no validation was made on the input parameters provided in pcigale.ini.... · e86ffbb3
    Médéric Boquien authored
    So far no validation was made on the input parameters provided in pcigale.ini. This could lead to runtime crashes when an argument took an unexpected value. As we are using the ConfigObj module to handle the configuration file, we can also use the validate module that comes with it. However the standard validation functions are not precise enough in our case. This file defines two validation functions for input parameters, and a new exception that will be used in a subsequent patch.
    e86ffbb3
validation.py 4.45 KB