Standard field-flattener for color bands.
# - - - C o l o r B a n d s F i e l d . f l a t t e n - - - Static
# @staticmethod
def flatten ( colorBands ):
"""Flatten a color-bands field.
"""
if colorBands is None:
return BLANK_COLOR_BANDS
else:
return colorBands.value.ljust ( COLOR_BANDS_L )
flatten = staticmethod ( flatten )