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
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