kou commented on code in PR #46352:
URL: https://github.com/apache/arrow/pull/46352#discussion_r2078946273


##########
dev/archery/archery/docker/cli.py:
##########
@@ -28,12 +28,13 @@
 def _mock_compose_calls(compose):
     from types import MethodType
     from subprocess import CompletedProcess
+    from itertools import chain
 
     def _mock(compose, command_tuple):
         def _execute(self, *args, **kwargs):
             params = [f'{k}={v}'
                       for k, v in self.config.params.items()]
-            command = ' '.join(params + command_tuple + args)
+            command = ' '.join(chain(params, command_tuple, args))

Review Comment:
   Why do we need this change?
   The current code doesn't work without this, right?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to