Mercurial > mozilla > hg > MozillaTry
changeset 39:0895e61753d1
better messages
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 09 Jan 2013 15:19:12 -0800 |
parents | 2d900a1f9951 |
children | efb29cff39a7 |
files | mozillatry.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mozillatry.py Tue Jan 08 14:59:21 2013 -0800 +++ b/mozillatry.py Wed Jan 09 15:19:12 2013 -0800 @@ -89,8 +89,8 @@ - http://trychooser.pub.build.mozilla.org/ """ - assert opt or debug - assert platforms + assert opt or debug, "At least one of `opt` or `debug` must be true" + assert platforms, "No platforms specified" message = ['try:'] message += ['-b', '%s%s' % (('d' if debug else ''), ('o' if opt else ''))] message += ['-p', ','.join(platforms)]