diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb index 501a43e4db..4823baf7f8 100644 --- a/Library/Homebrew/sandbox.rb +++ b/Library/Homebrew/sandbox.rb @@ -95,6 +95,10 @@ class Sandbox -k Sender sandboxd ] logs = Utils.popen_read("syslog", *syslog_args) + + # These messages are confusing and non-fatal, so don't report them. + logs = logs.lines.reject{ |l| l.match(/^.*Python\(\d+\) deny file-write.*pyc$/) }.join + unless logs.empty? if @logfile log = open(@logfile, "w")