From 61fd2fad75f77fc94087fc0709350d9747a0b54a Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Tue, 27 Sep 2011 00:20:36 +0000 Subject: [PATCH] Delete all *.pyc on update Last change exhibited issues with stale .pyc files. Let's leave that bake in a little to cleanup old .pyc files. TBR=asvitkine@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8048014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@102841 0039d316-1c4b-4281-b951-d872f2087c98 --- update_depot_tools | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_depot_tools b/update_depot_tools index 42d02a359..c2a4d5f93 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -94,3 +94,5 @@ then echo "Depot Tools has been updated to revision $AFTER_REVISION." 1>&2 fi fi + +find . -iname "*.pyc" -delete