using config_path in place of basepath
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Tue, 7 Jul 2009 08:17:43 +0000 (08:17 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Tue, 7 Jul 2009 08:17:43 +0000 (08:17 +0000)
sfa/util/api.py

index ce6a7ab..63de9b3 100644 (file)
@@ -167,7 +167,7 @@ class GeniAPI:
         Get our credential from a remote registry using a geniclient connection
         """
         type = 'authority'
-        path = self.config.basepath
+        path = self.config.config_path
         filename = ".".join([self.interface, self.hrn, type, "cred"])
         cred_filename = path + os.sep + filename
         try: