code: def get_list(self, section, key):
          
          value = self.get_safe(section, key, [])
          if value == []:
              return value
  
          # strip comments
          value = re.split(r'\s+#', value)[0]
  
          # split on commas
          value = value.split(',')
  
          # strip spaces
          return [x.strip() for x in value]
docs: Assumes that the value for a given key is going to be a list
          separated by commas. It gets rid of trailing comments.
          If just one item is present it returns a list with a single item, if no
          key is found an empty list is returned.