Commit 7b441222 authored by Jérome Perrin's avatar Jérome Perrin

return failures as int, not int, because sys.exit('0') will exit with return code 1

Thanks fabien !!


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24131 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bb9dc7f0
...@@ -264,7 +264,7 @@ Following tests failed: ...@@ -264,7 +264,7 @@ Following tests failed:
print summary print summary
print '-' * 79 print '-' * 79
print file_content print file_content
return failures return int(failures)
if __name__ == "__main__": if __name__ == "__main__":
parseArgs() parseArgs()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment