diff options
author | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-01-04 21:03:22 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-06 15:34:36 +0000 |
commit | 5ea0fde59719866f6eb86a4fe4e33d7f389802c5 (patch) | |
tree | db7305af8d7642b4fddf032ece79dc65d2c95ad4 /sources/pyside6/PySide6 | |
parent | b9a89e1f3c8d0b80cc91bf1d277ead3b7857dabd (diff) |
sources: migration from format() to f-strings
This should be the last patch related the usage of f-strings
from the 'sources' directory.
Change-Id: I0288d720dc4930dee088ca3396a66d1b3ba18f76
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit d9f344fcef6bec04a787f9ea9f4ea94f15eaa26c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/PySide6')
-rw-r--r-- | sources/pyside6/PySide6/__init__.py.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/__init__.py.in b/sources/pyside6/PySide6/__init__.py.in index eb20d7bd3..9b86c1830 100644 --- a/sources/pyside6/PySide6/__init__.py.in +++ b/sources/pyside6/PySide6/__init__.py.in @@ -57,7 +57,7 @@ def _setupQtDirectories(): import shiboken6 except Exception: paths = ', '.join(sys.path) - print('PySide6/__init__.py: Unable to import shiboken6 from {}'.format(paths), + print(f"PySide6/__init__.py: Unable to import shiboken6 from {paths}", file=sys.stderr) raise |