The series command passes a tuple to parse_patches instead of a patch list
(the new infrastructure) but there is no patch_list.index() function.
The patch transforms the tuple into a list.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
a list. The names can be individual patches and/or in the
patch1..patch2 format.
"""
a list. The names can be individual patches and/or in the
patch1..patch2 format.
"""
+ # in case it receives a tuple
+ patch_list = list(patch_list)
patches = []
for name in patch_args:
patches = []
for name in patch_args: