diff options
author | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 22:40:58 +0000 |
---|---|---|
committer | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 22:40:58 +0000 |
commit | 9dae4a37862398cd103d2d0b3d25ce1d540eac0b (patch) | |
tree | e93ebd9d2384d9b316c7cd2bc7dfb8e5e64e6b32 | |
parent | 92f463d59b07dc3359a27714140b207ec08359fe (diff) | |
download | chromium_src-9dae4a37862398cd103d2d0b3d25ce1d540eac0b.zip chromium_src-9dae4a37862398cd103d2d0b3d25ce1d540eac0b.tar.gz chromium_src-9dae4a37862398cd103d2d0b3d25ce1d540eac0b.tar.bz2 |
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
-rw-r--r-- | tools/telemetry/build/update_docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
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), |