[email protected] wrote:
Hi JM,
Yes you are right. "Hudson consider any non-zero value as error". In my case pylint command ran on Hudson or my command prompt returns non-zero value i.e. "1" which means fatal error and exit (does not allow any other command to run after pylint).
SO I would need to know the reason behind it and to rectify it.
Thanks
-Amit
use this script instead of pylint
from pylint import lint
try:
lint.Run(sys.argv[1:])
except SystemExit, exc:
if exc.args[0] <> 1:
raise
JM
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects