Currently in the Transformer code we check if a list is empty like this::
In Python, there are more efficient ways of checking whether a list is empty:
This returns True if there is something in the list, and False if there is nothing.
We should find all the places where we have done this and change them.
Currently in the Transformer code we check if a list is empty like this::
transformer/src/cloudimagedirectory/transformer.py
Line 46 in ce76508
In Python, there are more efficient ways of checking whether a list is empty:
This returns True if there is something in the list, and False if there is nothing.
We should find all the places where we have done this and change them.