Homebrew/homebrew — pull request #33957 by tdsmith (2014-11-06 03:42:01+00:00)
Title: language/python: don't die in reads_brewed_pth_files?

Addresses #33900. Anything that causes an exception here is probably a symptom of a larger problem but it's probably bad for the doctor to die. :syringe:

The reported error was:

Error: undefined method close! for nil:NilClass
/usr/local/Library/Homebrew/extend/pathname.rb:129:in ensure in atomic_write
...

Is there a better way to catch this?