Fix return code of irc_tests.py

The scripts was always returning 0 - see
https://review.openstack.org/#/c/163876/1 which should have failed since
accessbot was not updated.

Fixed with properly wrapping main.

Change-Id: Ica8b4fa28cf9ac0009443340949ff6b32ccb9dd1
This commit is contained in:
Andreas Jaeger 2015-03-12 16:56:11 +01:00
parent 9706afe81f
commit bb85da439d
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
import yaml
@ -51,4 +52,4 @@ def main():
return errors
if __name__ == "__main__":
main()
sys.exit(main())