amit.chaturv...@nokia.com wrote:
Hi,

Not with Hudson later I realize even when we run this command from my command prompt there also it exits with 
output status "1". And "1" status means "Fatal Error" . How can I get rid of 
this error?

Thanks
-AMit

use the hudson python script feature and catch the systemexit exception, ignoring it if the code is 1.

from pylint import lint
try:
   lint.Run(sys.argv[1:]) # customize this with your options
except SystemExit, exc:
   if exc.args[0] <> 1:
      raise


JM

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to