Python3 fix for map() in admin.