Commit 21a707c1 authored by Loic Baron's avatar Loic Baron
Browse files

Merge branch 'master' of gitlab.noc.onelab.eu:onelab/myslicelib

parents f9598f0f 4168fb11
......@@ -27,7 +27,7 @@ class User(Entity):
data['pi_authorities'] = data.get('pi_authorities', [])
data['slices'] = data.get('slices', [])
data['projects'] = data.get('projects', [])
data['certificate'] = data.get('certificate', [])
data['certificate'] = data.get('certificate', None)
super().__init__(data)
def getAuthority(self, attribute=False):
......
......@@ -24,7 +24,7 @@
# SFA API faults
#
import xmlrpclib
import xmlrpc.client as xmlrpclib
from myslicelib.util.genicode import GENICODE
class SfaFault(xmlrpclib.Fault):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment