| Index: tools/perf/find_dependencies
|
| diff --git a/tools/perf/find_dependencies b/tools/perf/find_dependencies
|
| index ec824a24dd3c134482c91d9310952325cced3df1..54abf6770b400b7dd4ccdd1e038386d04ee90375 100755
|
| --- a/tools/perf/find_dependencies
|
| +++ b/tools/perf/find_dependencies
|
| @@ -3,6 +3,21 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +
|
| +# Temporary hack to remove stale pyc file (crbug.com/590762)
|
| +import os
|
| +_STALE_PYC_FILE = os.path.join(
|
| + os.path.dirname(__file__), '..', '..', 'third_party', 'catapult',
|
| + 'tracing', '__init__.pyc')
|
| +
|
| +if os.path.exists(_STALE_PYC_FILE):
|
| + print 'Stale file %s exists, try removing it.' % _STALE_PYC_FILE
|
| + try:
|
| + os.remove(_STALE_PYC_FILE)
|
| + except OSError:
|
| + print 'Failed to remove %s' % _STALE_PYC_FILE
|
| + pass
|
| +
|
| import sys
|
|
|
| from core import find_dependencies
|
|
|