aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2022-01-17 09:06:59 +0100
committerChristian Stenger <christian.stenger@qt.io>2022-01-17 10:15:45 +0000
commit358146a3229f13d88677d3f73fa120a5ff85a0f7 (patch)
treea661c231b05e9dea2350c07f2a4872b8eac1f5a4 /scripts
parent64b6aca21244d01e2d1a83433daf252a17ee3845 (diff)
Scripts: Make uichanges script work with Python 3
Change-Id: Ieb5abc4845098b62afa37a3e0e0fdf88326da2ab Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/uichanges.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/uichanges.py b/scripts/uichanges.py
index 3be4556a4e..0dcc054a8f 100755
--- a/scripts/uichanges.py
+++ b/scripts/uichanges.py
@@ -176,7 +176,7 @@ def diffContext(ctx, old, new):
report += '\n\n Git Commits:\n'
for g in gitResults:
if g:
- g = u' {}'.format(unicode(g.replace('\n', '\n '), errors='replace'))
+ g = u' {}'.format(g.replace('\n', '\n '), errors='replace')
report += g
return report