X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fclient%2Fclient_helper.py;h=d9239ad92b45e8635aa6a21192306e83392a7bfb;hb=1622da11642665d92f31787d692289d4932f2586;hp=2117b146508d9041453abd22645270230b8b9bc2;hpb=30b26f8f644e2c99673d15c96f2722b746f6fbe2;p=sfa.git diff --git a/sfa/client/client_helper.py b/sfa/client/client_helper.py index 2117b146..d9239ad9 100644 --- a/sfa/client/client_helper.py +++ b/sfa/client/client_helper.py @@ -5,7 +5,7 @@ # it seems terribly wrong that the client should decide to use PG- or PL- related code # esp. in a context where we're trying to have more and more kinds of testbeds involved # -# also, the 'users' filed that CreateSliver is expecting (the key point here is to get this right) +# also, the 'users' field that CreateSliver is expecting (the key point here is to get this right) # is specified to have at least a urn and a list of keys, both of these being supported natively # in the sfa db # So long story short, it seems to me that we should have a common code that fills in 'urn' and 'keys' @@ -21,7 +21,7 @@ def pg_users_arg(records): continue user = {'urn': record['reg-urn'], 'keys': record['reg-keys'], - } + 'email': record['email']} users.append(user) return users