diff options
author | Patrik Teivonen <patrik.teivonen@qt.io> | 2022-03-30 15:20:51 +0300 |
---|---|---|
committer | Patrik Teivonen <patrik.teivonen@qt.io> | 2022-04-11 12:15:21 +0000 |
commit | 54ffe79d380b80247e3310c9f520a689772bc30d (patch) | |
tree | c7291b1aeb5e6c33f65cd9ecc60d8a698f569cc6 | |
parent | 82f0e455d436092a51d87599d9f57e1c4e25bd73 (diff) |
Update shebang, year in copyright notice
Change current year for copyright statement and use Python 3 shebang in
Python 3 scripts with consistent style.
Change-Id: I61983c80cd09d0a8a4b458ac1ae5a72ccd2d1ce2
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
-rw-r--r-- | packaging-tools/archiveresolver.py | 6 | ||||
-rw-r--r-- | packaging-tools/bld_lib.py | 2 | ||||
-rw-r--r-- | packaging-tools/bld_sdktool.py | 6 | ||||
-rw-r--r-- | packaging-tools/create_installer.py | 5 | ||||
-rwxr-xr-x | packaging-tools/notarize.py | 2 | ||||
-rwxr-xr-x | packaging-tools/patch_qt.py | 6 | ||||
-rwxr-xr-x | packaging-tools/remote_uploader.py | 6 | ||||
-rw-r--r-- | packaging-tools/sdkcomponent.py | 6 | ||||
-rwxr-xr-x | packaging-tools/send_header_diff_kmail.py | 3 | ||||
-rwxr-xr-x | packaging-tools/sign_installer.py | 2 | ||||
-rwxr-xr-x | packaging-tools/sign_windows_installer.py | 4 | ||||
-rw-r--r-- | packaging-tools/test_build_wrapper.py | 6 | ||||
-rw-r--r-- | packaging-tools/test_content_cleaner.py | 2 | ||||
-rwxr-xr-x | packaging-tools/test_packaging.py | 6 |
14 files changed, 40 insertions, 22 deletions
diff --git a/packaging-tools/archiveresolver.py b/packaging-tools/archiveresolver.py index 89507d739..6c1257809 100644 --- a/packaging-tools/archiveresolver.py +++ b/packaging-tools/archiveresolver.py @@ -1,7 +1,9 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + ############################################################################# ## -## Copyright (C) 2020 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/bld_lib.py b/packaging-tools/bld_lib.py index 7e2c161e9..152038668 100644 --- a/packaging-tools/bld_lib.py +++ b/packaging-tools/bld_lib.py @@ -3,7 +3,7 @@ ############################################################################# ## -## Copyright (C) 2020 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/bld_sdktool.py b/packaging-tools/bld_sdktool.py index e407f6253..11c277c06 100644 --- a/packaging-tools/bld_sdktool.py +++ b/packaging-tools/bld_sdktool.py @@ -1,7 +1,9 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + ############################################################################# ## -## Copyright (C) 2017 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/create_installer.py b/packaging-tools/create_installer.py index b07060134..520f66fd1 100644 --- a/packaging-tools/create_installer.py +++ b/packaging-tools/create_installer.py @@ -1,7 +1,8 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- ############################################################################# ## -## Copyright (C) 2021 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/notarize.py b/packaging-tools/notarize.py index 6c1ba96b0..d0963a83b 100755 --- a/packaging-tools/notarize.py +++ b/packaging-tools/notarize.py @@ -3,7 +3,7 @@ ############################################################################# ## -## Copyright (C) 2019 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/patch_qt.py b/packaging-tools/patch_qt.py index b9e71cec2..1f8f020ef 100755 --- a/packaging-tools/patch_qt.py +++ b/packaging-tools/patch_qt.py @@ -1,7 +1,9 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + ############################################################################# ## -## Copyright (C) 2019 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/remote_uploader.py b/packaging-tools/remote_uploader.py index 2fe807027..da8e85c24 100755 --- a/packaging-tools/remote_uploader.py +++ b/packaging-tools/remote_uploader.py @@ -1,7 +1,9 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + ############################################################################# ## -## Copyright (C) 2020 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/sdkcomponent.py b/packaging-tools/sdkcomponent.py index d66514691..6de745f4e 100644 --- a/packaging-tools/sdkcomponent.py +++ b/packaging-tools/sdkcomponent.py @@ -1,7 +1,9 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + ############################################################################# ## -## Copyright (C) 2020 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/send_header_diff_kmail.py b/packaging-tools/send_header_diff_kmail.py index 979430606..3857c76ca 100755 --- a/packaging-tools/send_header_diff_kmail.py +++ b/packaging-tools/send_header_diff_kmail.py @@ -1,8 +1,9 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- #**************************************************************************** #* -#* Copyright (C) 2016 The Qt Company Ltd. +#* Copyright (C) 2022 The Qt Company Ltd. #* Contact: https://www.qt.io/licensing/ #* #* This file is part of the qtqa module of the Qt Toolkit. diff --git a/packaging-tools/sign_installer.py b/packaging-tools/sign_installer.py index 7baf99dfe..835c02dc8 100755 --- a/packaging-tools/sign_installer.py +++ b/packaging-tools/sign_installer.py @@ -3,7 +3,7 @@ ############################################################################# ## -## Copyright (C) 2020 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/sign_windows_installer.py b/packaging-tools/sign_windows_installer.py index c63c4cb15..9216ba473 100755 --- a/packaging-tools/sign_windows_installer.py +++ b/packaging-tools/sign_windows_installer.py @@ -1,7 +1,9 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- + ############################################################################# ## -## Copyright (C) 2021 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/test_build_wrapper.py b/packaging-tools/test_build_wrapper.py index 067af95de..80a9d88e0 100644 --- a/packaging-tools/test_build_wrapper.py +++ b/packaging-tools/test_build_wrapper.py @@ -1,7 +1,9 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + ############################################################################# ## -## Copyright (C) 2017 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/test_content_cleaner.py b/packaging-tools/test_content_cleaner.py index add54789c..f9bf92aa0 100644 --- a/packaging-tools/test_content_cleaner.py +++ b/packaging-tools/test_content_cleaner.py @@ -3,7 +3,7 @@ ############################################################################# ## -## Copyright (C) 2021 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. diff --git a/packaging-tools/test_packaging.py b/packaging-tools/test_packaging.py index 15f577ca4..53ebdd3fd 100755 --- a/packaging-tools/test_packaging.py +++ b/packaging-tools/test_packaging.py @@ -1,7 +1,9 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + ############################################################################# ## -## Copyright (C) 2019 The Qt Company Ltd. +## Copyright (C) 2022 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the release tools of the Qt Toolkit. |