def get_index_schema(self, index_name):
    """
    Returns a tuple of the unique key and schema fields for a given index
    """
    try:
      field_data = self.api.fields(index_name)
      fields = self._format_flags(field_data['schema']['fields'])
      uniquekey = self.api.uniquekey(index_name)
      return uniquekey, fields
    except Exception, e:
      LOG.exception(e.message)
      raise IndexControllerException(_(index_name % "Error in getting schema information for index '%s'"))
dataset/ETHPy150Open cloudera/hue/desktop/libs/indexer/src/indexer/controller2.py/IndexController.get_index_schema/swapped operands of `%`