kapoisu commented on code in PR #46352:
URL: https://github.com/apache/arrow/pull/46352#discussion_r2079095003
##########
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:
Sure! Let me know if it’s clear enough now.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]