fix errors in upload scripts
Change-Id: I0ee9fbef7b80e5d37800b4fb9daff7e8ba46d65d
This commit is contained in:
parent
ff3e72ae73
commit
e8bcef2c53
@ -17,7 +17,7 @@ def update_all_url_entries(data, **kwargs):
|
||||
for partial in data['partials']:
|
||||
partial['file']['url'] = replace_variables_in_string(partial['file']['url'], **kwargs)
|
||||
|
||||
for lang, lang_file in partial['languages'].iter():
|
||||
for lang, lang_file in partial['languages'].items():
|
||||
lang_file['url'] = replace_variables_in_string(lang_file['url'], **kwargs)
|
||||
|
||||
def main(argv):
|
||||
|
@ -12,8 +12,6 @@ from path import UpdaterPath
|
||||
|
||||
current_dir_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
def ensure_dir_exist()
|
||||
|
||||
def main():
|
||||
if len(sys.argv) < 5:
|
||||
print("Usage: create_full_mar_for_languages.py $PRODUCTNAME $WORKDIR $FILENAMEPREFIX $UPDATE_CONFIG")
|
||||
|
Loading…
x
Reference in New Issue
Block a user