Fix frontend.afe.rpc_interface_unittest to not require Python >=2.5 (there is no Exception.message in Python <2.5).
Signed-off-by: Mihai Rusu <[email protected]> --- autotest/frontend/afe/model_logic.py 2010-04-15 18:47:17.000000000 -0700 +++ autotest/frontend/afe/model_logic.py 2010-04-15 18:47:17.000000000 -0700 @@ -756,7 +756,7 @@ python_value = f.to_python( getattr(self, f.attname, f.get_default())) except django.core.exceptions.ValidationError, e: - error_dict[f.name] = str(e.message) + error_dict[f.name] = str(e) continue if not f.blank and not python_value: _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
