From 22f44fa3a7acb428455f46c52e37786731e9d421 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 5 Apr 2010 20:56:15 +0000 Subject: [PATCH] tabs --- sfa/methods/get_credential.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sfa/methods/get_credential.py b/sfa/methods/get_credential.py index f788eadc..c624b1b6 100644 --- a/sfa/methods/get_credential.py +++ b/sfa/methods/get_credential.py @@ -38,11 +38,10 @@ class get_credential(Method): else: hrn, type = urn_to_hrn(xrn) - #log the call - if not origin_hrn: + #log the call + if not origin_hrn: origin_hrn = Credential(string=cred).get_gid_caller().get_hrn() - self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn, hrn, self.name)) - + self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn, hrn, self.name)) self.api.auth.check(cred, 'getcredential') self.api.auth.verify_object_belongs_to_me(hrn) -- 2.43.0