X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Finterface.py;h=05034795e8bb65cebcfb1b549edf97a3e541aa57;hb=a172efc1d44254684c1d17a0d8beae2debef6350;hp=5099e9fe16070cf0796747406bc3d02d8e551e2a;hpb=e388f90574406a3f8033d6822ef196cf58e959a9;p=sfa.git diff --git a/sfa/server/interface.py b/sfa/server/interface.py index 5099e9fe..05034795 100644 --- a/sfa/server/interface.py +++ b/sfa/server/interface.py @@ -46,10 +46,9 @@ class Interfaces(dict): # defined by the class default_dict = {} - # allowed types - types = ['sa', 'ma'] + types = ['authority'] - def __init__(self, api, conf_file, type): + def __init__(self, api, conf_file, type='authority'): if type not in self.types: raise SfaInfaildArgument('Invalid type %s: must be in %s' % (type, self.types)) dict.__init__(self, {})