convert dict_items to list
In Python 3
, .items()
is of dict_items
type (not a list
as in Python 2
) which means we can't concatenate it in https://gitlab.cern.ch/lhcb-core/nightly-builds/lb-nightly-functions/-/blob/825485228ba17d6306a627c381ffda0331f22964/lb/nightly/functions/build.py#L481-484.