You don't need to loop through assigning the values into the two lists, errors and warnings. It should be possible to assign them directly into the lists. If that means that you need to adjust (slightly) how check_python_libraries() returns the value then do so here and then adjust how edenStart works. This change should impact eden as minimally as possible.