oops
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 14 Apr 2011 10:38:22 +0000 (12:38 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 14 Apr 2011 10:38:22 +0000 (12:38 +0200)
sfa/methods/RenewSliver.py

index 5e3e266..b426a3d 100644 (file)
@@ -25,10 +25,10 @@ class RenewSliver(Method):
 
     def call(self, slice_xrn, creds, expiration_time, call_id=""):
 
-        self.api.logger.info("interface: %s\ttarget-hrn: %s\tcaller-creds: %s\tmethod-name: %s"%(self.api.interface, hrn, creds, self.name))
-
         (hrn, type) = urn_to_hrn(slice_xrn)
 
+        self.api.logger.info("interface: %s\ttarget-hrn: %s\tcaller-creds: %s\tmethod-name: %s"%(self.api.interface, hrn, creds, self.name))
+
         # Find the valid credentials
         valid_creds = self.api.auth.checkCredentials(creds, 'renewsliver', hrn)