code: def target_str_to_list(target_str):
      
      new_list = list()
      for target in target_str.split(','):
          target = target.strip()
          target_list = target_to_list(target)
          if target_list:
              new_list.extend(target_list)
          else:
              LOGGER.info("{0}: Invalid target value".format(target))
              return None
      return list(collections.OrderedDict.fromkeys(new_list))
docs: Parses a targets string into a list of individual targets.