You should get rid of the print statements before merging. Use logging when appropiate.