Bug 1419182 - Clean up value checking; r=mshal

MozReview-Commit-ID: LAS0Iaf40nI

--HG--
extra : rebase_source : e512f28d26f20deecf3a33705632dc9782b15c3e
This commit is contained in:
Gregory Szorc 2017-11-20 14:27:13 -08:00
parent 276f8b37d7
commit 446e278913

View File

@ -36,8 +36,7 @@ def verify_mozconfigs(mozconfig_pair, nightly_mozconfig_pair, platform,
mozconfig_name, mozconfig_lines = mozconfig_pair
nightly_mozconfig_name, nightly_mozconfig_lines = nightly_mozconfig_pair
missing_args = mozconfig_lines == [] or nightly_mozconfig_lines == []
if missing_args:
if not mozconfig_lines or not nightly_mozconfig_lines:
log.info("Missing mozconfigs to compare for %s" % platform)
return False