Thanks for this patch.
What you want is to remove trailing None values, but you remove all None values.
Example, if you have: [7, None, 4, None], you patch will give [7, 4].
Here is want you want:
if isinstance(arguments, list):
while arguments and arguments[-1] is None: arguments.pop()
Thanks to run the unittests and fix them accordingly. The test data will certainly need to be adapted.
Hi,
Thanks for this patch.
What you want is to remove trailing None values, but you remove all None values.
Example, if you have: [7, None, 4, None], you patch will give [7, 4].
Here is want you want:
if isinstance( arguments, list):
arguments. pop()
while arguments and arguments[-1] is None:
Thanks to run the unittests and fix them accordingly. The test data will certainly need to be adapted.