def aslist(value, flatten=True):
 values = aslist_cronly(value)
 if (not flatten):
  return values
 result = []
 for value in values:
  subvalues = value.split()
  result.extend(subvalues)
 return result

def aslist ( value , flatten = True ) : values = aslist_cronly ( value ) if ( not flatten ) : return values result = [ ] for value in values : subvalues = value . split ( ) result . extend ( subvalues ) return result
return a list of strings .