Commit 060e575d authored by Eric  DEVEAUD's avatar Eric DEVEAUD

description and version list tweak

parent 5dbce846
......@@ -156,7 +156,7 @@ def getmodule_infos(package):
if testmodule:
package = 'test/%s' %(package)
print ">>>>>>>>>", package
try:
infos=m.help(package)
except M.ModuleError as err:
......@@ -275,7 +275,6 @@ def pack2mongo(pack):
#---- get infos from BIODOCS parsed holder
pack_name = pack['name']
pack_authors = [auth.strip() for auth in pack['authors'] if auth]
pack_description = ' '.join(pack['description'])
pack_refs = format_references(pack['references'])
pack_library = MTRUE if pack['library'] else MFALSE
pack_private = MTRUE if pack['private'] else MFALSE
......@@ -293,7 +292,7 @@ def pack2mongo(pack):
mongopack = { '_id': pack_id
, 'type': 'package'
, 'name' : pack_name
, 'description' : pack_description
, 'description' : pack['description'] #pack_description
, 'home' : pack['home']
, 'source' : pack['sources']
, 'categories' : pack['operations'] + pack['topics']
......@@ -475,7 +474,7 @@ def mobyle2mongo(pack_name, pack_version, prg_lst, module_info):
return ret
def biodocs2mongo(biodocs_pack_info, biodocs_progs_info, mobyle_progs_info):
versions_lst = biodocs_pack_info['version']
versions_lst = [biodocs_pack_info['version']]
pack_name = biodocs_pack_info['name']
for version in versions_lst:
......
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