From: Tony Mack Date: Mon, 9 Feb 2009 21:54:00 +0000 (+0000) Subject: added cred param to list_components) X-Git-Tag: sfa-0.9-0@14641~655 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5e5c4d989e518fb20455581e0ad154d6cd50d2c1;p=sfa.git added cred param to list_components) --- diff --git a/geni/util/geniclient.py b/geni/util/geniclient.py index 6702b06d..ffd14406 100644 --- a/geni/util/geniclient.py +++ b/geni/util/geniclient.py @@ -246,8 +246,9 @@ class GeniClient(): ## list components # # - def list_components(self): - result = self.server.list_components() + def list_components(self, cred): + + result = self.server.list_components(cred.save_to_string(save_parents=True)) return result ## list resources