def META_OLECF(s, buff):

   META_DICT = { }

   try:
      stream = InputIOStream(StringIO(buff))
      parser = guessParser(stream)
      meta = extractMetadata(parser)
   except:
      return META_DICT

   for data in sorted(meta):
      if data.values:
         if len(data.values) == 1:
            META_DICT['%s' % data.key] = data.values[0].text
         else:
            values = []
            for value in data.values:
               values.append(value.text)
            META_DICT[data.key % '%s'] = values

   return META_DICT
dataset/ETHPy150Open EmersonElectricCo/fsf/fsf-server/modules/META_OLECF.py/META_OLECF/swapped operands of `%`