From 9dae4a37862398cd103d2d0b3d25ce1d540eac0b Mon Sep 17 00:00:00 2001 From: "achuith@chromium.org" Date: Mon, 24 Jun 2013 22:40:58 +0000 Subject: remove pyc files, not py files. BUG=NONE TEST=manual NOTRY=True Review URL: https://chromiumcodereview.appspot.com/17639005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208281 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/telemetry/build/update_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/telemetry/build/update_docs.py b/tools/telemetry/build/update_docs.py index 8aedb29..38d0c3c 100644 --- a/tools/telemetry/build/update_docs.py +++ b/tools/telemetry/build/update_docs.py @@ -31,7 +31,7 @@ def RemoveAllStalePycFiles(): pyc_path = os.path.join(dirname, filename) py_path = os.path.splitext(pyc_path)[0] + '.py' if not os.path.exists(py_path): - os.remove(py_path) + os.remove(pyc_path) def GenerateHTMLForModule(module): html = pydoc.html.page(pydoc.describe(module), -- cgit v1.1