mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
refactor: use explicit conversion in f-strings
This commit is contained in:
32 files changed
+65
-65
No files matched your search
@@ -134,7 +134,7 @@ async def benchmark_get_projects(base_url, headers, project_count, iterations=10
|
||||
else:
|
||||
print(f" Iteration {i + 1}: ERROR {response.status_code}")
|
||||
except Exception as e:
|
||||
print(f" Iteration {i + 1}: Exception - {type(e).__name__}: {str(e)}")
|
||||
print(f" Iteration {i + 1}: Exception - {type(e).__name__}: {e!s}")
|
||||
|
||||
# Cleanup test projects
|
||||
if project_count > 0:
|
||||
|
||||
Reference in new issue
Block a user