fix tc project validation

We do not require TC candidates to have landed any patches, so skip that
test for those nominations.

Change-Id: I2a782f1ce1c52523f009dbd02c85d237c86e5c17
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-09-04 12:07:38 -04:00 committed by Tony Breeds
parent 54d0a77b94
commit 386e19be05
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def main():
candiate_ok &= validate_filename(filepath)
candiate_ok &= validate_member(filepath)
if candiate_ok and utils.is_tc_election:
if candiate_ok and not utils.is_tc_election():
candiate_ok &= check_for_changes(projects, filepath, args.limit)
errors |= not candiate_ok