equal
deleted
inserted
replaced
38 def __init__(self, appid, options): |
38 def __init__(self, appid, options): |
39 super(SourceConfiguration, self).__init__(options=options) |
39 super(SourceConfiguration, self).__init__(options=options) |
40 self.appid = appid |
40 self.appid = appid |
41 |
41 |
42 # make Method('default_instance_id') usable in db option defs (in native.py) |
42 # make Method('default_instance_id') usable in db option defs (in native.py) |
43 def default_instance_id |
43 def default_instance_id(self): |
44 return self.appid |
44 return self.appid |
45 |
45 |
46 def generate_sources_file(appid, sourcesfile, sourcescfg, keys=None): |
46 def generate_sources_file(appid, sourcesfile, sourcescfg, keys=None): |
47 """serialize repository'sources configuration into a INI like file |
47 """serialize repository'sources configuration into a INI like file |
48 |
48 |