def munge_lists(listA, listB):
 if (listA is None):
  return listB
 if (listB is None):
  return listA
 if (not isinstance(listA, list)):
  listA = [listA]
 if (not isinstance(listB, list)):
  listB = [listB]
 return (listA + listB)

def munge_lists ( listA , listB ) : if ( listA is None ) : return listB if ( listB is None ) : return listA if ( not isinstance ( listA , list ) ) : listA = [ listA ] if ( not isinstance ( listB , list ) ) : listB = [ listB ] return ( listA + listB )
combine two lists into a single list .