Removed a useless loop and if, replaced by a generator
Removed a useless loop and if, replaced by a generator

edyan/stakkr,edyan/stakkr,inetprocess/docker-lamp,inetprocess/docker-lamp,edyan/stakkr,inetprocess/docker-lamp