summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib
diff options
context:
space:
mode:
authorIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2021-07-07 13:23:12 +0200
committerIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2021-07-07 19:32:52 +0200
commit230014608571c2ad88b740455f4ffe1b963cad22 (patch)
treeb0a5902ca4e4b2e084a0c4b1dbd48459adc918bd /tests/benchmarks/corelib
parente54faee178ef5a4437ac1cfa6fd13d5ce0fb18c0 (diff)
locale_database: Don't attempt to access property 'message' of IOError
IOError does not have property 'message' in Python 3. Instead of attempting to access it, just use the string representation of the exception object. This produces the error message possibly combined with additional arguments in both Python 2 and Python 3. Task-number: QTBUG-83488 Pick-to: 6.2 Change-Id: Icb198a409e7f80b832e474d8390b770fdeacc6c2 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/benchmarks/corelib')
0 files changed, 0 insertions, 0 deletions