Pylint fix: line too long and remove use of map() which is bad according to pylint