perf-stream-locked-section: fix the call to the v3 generator
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 26 Mar 2024 08:39:08 +0000
changeset 51545 700783ed3415
parent 51544 06671781b04d
child 51546 f376c4d5c4b6
perf-stream-locked-section: fix the call to the v3 generator That generator simply return chunks so we should not assign the return to a tuple.
contrib/perf.py
--- a/contrib/perf.py	Tue Mar 26 08:36:47 2024 +0000
+++ b/contrib/perf.py	Tue Mar 26 08:39:08 2024 +0000
@@ -2058,8 +2058,7 @@
     if generatev3 is not None:
 
         def generate(repo):
-            entries, bytes, data = generatev3(repo, None, None, True)
-            return data
+            return generatev3(repo, None, None, True)
 
         available[b'v3-exp'] = generate