mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 14:13:35 +00:00
Fix indentation (#1357)
This commit is contained in:
@ -301,10 +301,10 @@ def update_policy():
|
||||
value = value.split(',')
|
||||
if myarg == 'chrome.users.chromebrowserupdates' and \
|
||||
cased_field == 'targetVersionPrefixSetting':
|
||||
if value.find('-') != -1:
|
||||
channel, minus = value.split('-')
|
||||
milestone = gapi_chromehistory.get_relative_milestone(channel, int(minus))
|
||||
value = f'{milestone}.'
|
||||
if value.find('-') != -1:
|
||||
channel, minus = value.split('-')
|
||||
milestone = gapi_chromehistory.get_relative_milestone(channel, int(minus))
|
||||
value = f'{milestone}.'
|
||||
body['requests'][-1]['policyValue']['value'][cased_field] = value
|
||||
body['requests'][-1]['updateMask'] += f'{cased_field},'
|
||||
i += 2
|
||||
|
Reference in New Issue
Block a user