-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use correct appguid for darwin when uploading to Omaha #1197
Conversation
Fixes brave/brave-browser#2790 |
script/lib/omaha.py
Outdated
@@ -71,7 +71,7 @@ def get_base64_authorization(omahaid, omahapw): | |||
|
|||
# To-Do: Add functions to create apps | |||
def get_appguid(channel, platform): | |||
if channel in 'dev' or channel in 'release' and platform in 'darwin': | |||
if channel in 'dev' or platform in 'darwin' and channel in ['beta', 'dev', 'release']: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think maybe you mean:
if channel in ['dev'] or platform in ['darwin'] and channel in ['beta', 'dev', 'release']:
Otherwise for example 'e' is in 'dev'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or by using ==
like channel == 'dev'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed that if statement. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I can't resolve a change request by you @bbondy. Do you mind resolving it so I can merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good now
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: