From dc54a7d84eeabb5c20b81ef43ca31aaa6ff5e1e1 Mon Sep 17 00:00:00 2001 From: Steve Jalim Date: Thu, 21 Nov 2024 12:14:03 +0000 Subject: [PATCH] Reinstate missing function call in _log() helper :facepalm: --- profiling/hit_popular_pages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiling/hit_popular_pages.py b/profiling/hit_popular_pages.py index 5f9731134d2..d12e362a405 100644 --- a/profiling/hit_popular_pages.py +++ b/profiling/hit_popular_pages.py @@ -14,6 +14,7 @@ """ +import sys import time import requests @@ -76,7 +77,7 @@ def _log(*args): - ("\n".join(args)) + sys.stdout.write("\n".join(args)) def hit_pages(paths, times=3):