13 lines
296 B
Python
13 lines
296 B
Python
def get_catalog_tag(ident):
|
|
return "IDRE{:0>3d}".format(ident)
|
|
|
|
|
|
def get_contribs(contributors):
|
|
contrib_list = []
|
|
for contrib in contributors:
|
|
contrib_list.append({
|
|
"id": contrib.id,
|
|
"name": contrib.name
|
|
})
|
|
return contrib_list
|