Skip to content

Instantly share code, notes, and snippets.

@mstriemer
Created November 4, 2015 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mstriemer/4e378aa31dfeb3a35751 to your computer and use it in GitHub Desktop.
Save mstriemer/4e378aa31dfeb3a35751 to your computer and use it in GitHub Desktop.
# https://github.com/mozilla/olympia/blob/1b00c207d9c67ab1fb3a48331bb49806b6e26471/apps/devhub/tasks.py#L71-L72
if (file_.automated_signing and validation['passed_auto_validation']) or (
not file_.automated_signing and file_.valid):
# should be
if file_.valid and (not file_.automated_signing or validation['passed_auto_validation']):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment