[Replicant] [vendor_replicant-scripts] [PATCH] replicant_prepare_patch.py: Handle all git arguments
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Wed Sep 1 13:58:33 UTC 2021
On Thu, 26 Aug 2021 09:15:57 +0200
Denis 'GNUtoo' Carikli via Replicant <replicant at osuosl.org> wrote:
> - command += patches
> + for patch in patches:
> + if self.directory:
> + command.append('{}/{}'.format(self.directory, patch))
> + else:
> + command.append(patches)
This should be command.append(patch) as with the former one it produces
the following crash with many patches:
> Traceback (most recent call last):
> File "/usr/local/bin/replicant_prepare_patch.py", line 385, in
> <module> print('git ' + ' '.join(
> TypeError: sequence item 3: expected str instance, list found
I'll push the patch with the fix above.
Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20210901/77bf25cc/attachment.asc>
More information about the Replicant
mailing list