Index: net/test/python_utils.cc |
diff --git a/net/test/python_utils.cc b/net/test/python_utils.cc |
index a67b2c129458896d2779d70eb404b8e17ba32a80..ce483f0e9a6108fa84b1be185a7bb1b55e9ef015 100644 |
--- a/net/test/python_utils.cc |
+++ b/net/test/python_utils.cc |
@@ -120,6 +120,9 @@ bool GetPythonCommand(CommandLine* python_cmd) { |
// Launch python in unbuffered mode, so that python output doesn't mix with |
// gtest output in buildbot log files. See http://crbug.com/147368. |
python_cmd->AppendArg("-u"); |
+ // Don't generate .pyc files. This avoids future problems if upstreams for our |
+ // bundled libraries rename more files. See http://crbug.com/356276 |
+ python_cmd->AppendArg("-B"); |
Ryan Sleevi
2014/03/31 19:42:14
Someone from infra should review this change - as
Peter Mayo (wrong one)
2014/04/03 21:16:30
I certainly don't want to see this (independent) c
davidben
2014/04/03 21:29:33
What are the better ways we have? It's a problem r
|
return true; |
} |