From: Tony Mack <tmack@localhost.localdomain>
Date: Thu, 7 Jun 2012 01:47:10 +0000 (-0400)
Subject: fix bug in renew
X-Git-Tag: sfa-2.1-10~2
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7c07392f73ae780e78a434292507d5a64a8faa4d;p=sfa.git

fix bug in renew
---

diff --git a/sfa/client/sfi.py b/sfa/client/sfi.py
index 2ec43fbf..c536e61b 100644
--- a/sfa/client/sfi.py
+++ b/sfa/client/sfi.py
@@ -879,7 +879,7 @@ or version information about sfi itself
                 cred = self.my_authority_credential_string()
         elif record_dict['type'] in ["slice"]:
             try:
-                cred = self.slice_credential_string(record.hrn)
+                cred = self.slice_credential_string(record_dict['hrn'])
             except ServerException, e:
                # XXX smbaker -- once we have better error return codes, update this
                # to do something better than a string compare