diff options
author | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2018-06-15 12:42:18 +0200 |
---|---|---|
committer | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2018-06-18 12:41:32 +0200 |
commit | c3857a9db861c0d435ad0ba3acd8564c82cc2283 (patch) | |
tree | d8f0d567587c2763650ff4ec85a417d8e4695919 /platform/android/scripts | |
parent | 0deb468646e848076622785962bc4a589c21f560 (diff) | |
download | qtlocation-mapboxgl-c3857a9db861c0d435ad0ba3acd8564c82cc2283.tar.gz |
[android] - fix Android licenses formatting
Diffstat (limited to 'platform/android/scripts')
-rw-r--r-- | platform/android/scripts/generate-license.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/scripts/generate-license.py b/platform/android/scripts/generate-license.py index a05169e096..9e59cb4186 100644 --- a/platform/android/scripts/generate-license.py +++ b/platform/android/scripts/generate-license.py @@ -5,8 +5,8 @@ import json path = os.getcwd() + "/platform/android/" with open(path + "LICENSE.md", 'w') as licenseFile: - licenseFile.write("<!-- This file was generated. Use `make android-license` to update. -->\n") - licenseFile.write("## Additional Mapbox GL licenses\n") + licenseFile.write("<!-- This file was generated. Use `make android-license` to update. --> \n") + licenseFile.write("## Additional Mapbox GL licenses \n") with open(path + "MapboxGLAndroidSDK/build/reports/licenses/licenseReleaseReport.json", 'r') as dataFile: data = json.load(dataFile) @@ -33,7 +33,7 @@ with open(path + "LICENSE.md", 'w') as licenseFile: licenseName = license["license"] licenseUrl = license["license_url"] - licenseFile.write("Mapbox GL uses portions of the %s.\n" % projectName + - ("URL: [%s](%s)\n" % (projectUrl, projectUrl) if projectUrl is not None else "") + + licenseFile.write("Mapbox GL uses portions of the %s. \n" % projectName + + ("URL: [%s](%s) \n" % (projectUrl, projectUrl) if projectUrl is not None else "") + "License: [%s](%s)" % (licenseName, licenseUrl) + "\n\n===========================================================================\n\n") |