@property
  def pretty_eligibility(self):
    if not self.eligibility:
      return "Anyone can vote."
    else:
      return_val = "<ul>"
      
      for constraint in self.eligibility:
        if constraint.has_key('constraint'):
          for one_constraint in constraint['constraint']:
            return_val += AUTH_SYSTEMS[constraint['auth_system']].pretty_eligibility(one_constraint) % "<li>%s</li>"
        else:
          return_val += "<li> any %s user</li>" % constraint['auth_system']

      return_val += "</ul>"

      return return_val
dataset/ETHPy150Open benadida/helios-server/helios/models.py/Election.pretty_eligibility/swapped operands of `%`