fix issues with Base.read_comps() dont work in python3 (rhbz #1070710)