Exemplo n.º 1
0
def getfiletree(ID):
    print('* Generating BaseID FileTree from DB')
    feed = ''
    message, baselist, updlist, dlclist = nutdb.BaseID_tree(ID,
                                                            printinfo=False)
    feed = format_file_tree(baselist, updlist, dlclist, ID)
    return feed
Exemplo n.º 2
0
def getfiletree(ID):
	print('* Generating BaseID FileTree from DB')
	sys.stdout.flush()
	feed=''
	try:
		message,baselist,updlist,dlclist=nutdb.BaseID_tree(ID,printinfo=False)	
		feed=format_file_tree(baselist,updlist,dlclist,ID)
	except:pass	
	return	feed