keg: fix delete_pyc_files path typo.

This commit is contained in:
Mike McQuaid 2018-03-08 08:37:34 +00:00 committed by GitHub
parent 8e928992f5
commit 948b1b8dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,7 +519,7 @@ class Keg
def delete_pyc_files! def delete_pyc_files!
find do |path| find do |path|
if %w[.pyc .pyo].include?(pn.extname) || pn.basename.to_s == "__pycache__" if %w[.pyc .pyo].include?(path.extname) || path.basename.to_s == "__pycache__"
path.delete path.delete
end end
end end