Revert "keg: fix delete_pyc_files path typo."
This reverts commit 948b1b8dbeb7bce35d5b0ecc45b14ac50d4eee93.
This commit is contained in:
parent
1d708d77cb
commit
e906ec374b
@ -523,7 +523,7 @@ class Keg
|
||||
|
||||
def delete_pyc_files!
|
||||
find do |path|
|
||||
if %w[.pyc .pyo].include?(path.extname) || path.basename.to_s == "__pycache__"
|
||||
if %w[.pyc .pyo].include?(pn.extname) || pn.basename.to_s == "__pycache__"
|
||||
path.delete
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user