forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -176,7 +176,7 @@ def diffContext(ctx, old, new):
|
|||||||
report += '\n\n Git Commits:\n'
|
report += '\n\n Git Commits:\n'
|
||||||
for g in gitResults:
|
for g in gitResults:
|
||||||
if g:
|
if g:
|
||||||
g = u' {}'.format(unicode(g.replace('\n', '\n '), errors='replace'))
|
g = u' {}'.format(g.replace('\n', '\n '), errors='replace')
|
||||||
report += g
|
report += g
|
||||||
|
|
||||||
return report
|
return report
|
||||||
|
Reference in New Issue
Block a user