From c0c8481d828f3172bdd982116d07e6a2de9049c5 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 17 Jan 2013 14:12:45 -0500 Subject: [PATCH] edit error message --- sfa/trust/auth.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index d72c3f81..fcd4f753 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -71,10 +71,7 @@ class Auth: check_sliver_callback(valid, sliver_xrns) if not len(valid): - msg = "Valid credential not found for method: %s" % operation - if xrns: - msg += " target: %s" % xrns - raise Forbidden(msg) + raise Forbidden("Invalid credential") return valid -- 2.43.0