[Libreoffice-commits] core.git: Branch 'feature/mar-updater' - bin/update

Markus Mohrhard markus.mohrhard at googlemail.com
Thu Apr 27 01:03:46 UTC 2017


 bin/update/create_build_config.py |    2 +-
 bin/update/create_full_mar.py     |    2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit d5967c408397573f420b7414d5c4ab4eb3ff0651
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Thu Apr 27 03:02:22 2017 +0200

    fix errors in upload scripts
    
    Change-Id: I0ee9fbef7b80e5d37800b4fb9daff7e8ba46d65d

diff --git a/bin/update/create_build_config.py b/bin/update/create_build_config.py
index 163e94a4426f..8d6bf5206ce8 100755
--- a/bin/update/create_build_config.py
+++ b/bin/update/create_build_config.py
@@ -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):
diff --git a/bin/update/create_full_mar.py b/bin/update/create_full_mar.py
index a9d7aa2b9fe5..38919542d6a4 100755
--- a/bin/update/create_full_mar.py
+++ b/bin/update/create_full_mar.py
@@ -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")


More information about the Libreoffice-commits mailing list