- if not proxyGrantingTicket.targetService == targetService:
- return _cas2_error_response(INVALID_SERVICE,
- "The PGT was issued for %(original)s but the PT was requested for %(but)s" % dict(
- original=proxyGrantingTicket.targetService, but=targetService))
-