Bug 1247085 - Generate empty graph when no try flags given r=wcosta

MozReview-Commit-ID: DOq9gJBTUY6
This commit is contained in:
Gregory Arndt
2016-02-29 09:51:17 -06:00
parent 03a3a9ee7c
commit 19815ffe44
3 changed files with 44 additions and 32 deletions

View File

@@ -20,9 +20,6 @@ BUILD_TYPE_ALIASES = {
'd': 'debug'
}
class InvalidCommitException(Exception):
pass
def escape_whitespace_in_brackets(input_str):
'''
In tests you may restrict them by platform [] inside of the brackets
@@ -249,8 +246,7 @@ def parse_commit(message, jobs):
break
if try_idx is None:
raise InvalidCommitException('Invalid commit format contain ' +
TRY_DELIMITER)
return [], 0
# Argument parser based on try flag flags
parser = argparse.ArgumentParser()