fix bug in get_auth_cred
authorTony Mack <tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:28:38 +0000 (21:28 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:28:38 +0000 (21:28 +0000)
sfa/client/sfi.py

index 96bf4bf..b817ea0 100755 (executable)
@@ -388,7 +388,7 @@ class Sfi:
             print "no authority specified. Use -a or set SF_AUTH"
             sys.exit(-1)
         file = os.path.join(self.options.sfi_dir, get_leaf("authority") + ".cred")
-        return self.get_cred(file, 'authority', name)
+        return self.get_cred(file, 'authority', self.authority)
 
     def get_slice_cred(self, name):
         file = os.path.join(self.options.sfi_dir, "slice_" + get_leaf(name) + ".cred")