fixing PEP issues in brew_master