Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: devserver.py

Issue 3125017: Modify to work with cros_workon. (Closed) Base URL: http://src.chromium.org/git/dev-util.git
Patch Set: fixed Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gmerge » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devserver.py
diff --git a/devserver.py b/devserver.py
index 3737cc08924481f9f89a2d8643b68b4c0add41d6..73aa3ba717328545ae6b5ac07114cdb507f09d68 100644
--- a/devserver.py
+++ b/devserver.py
@@ -37,6 +37,10 @@ class build:
err = os.system(emerge_command)
if err != 0:
raise Exception('failed to execute %s' % emerge_command)
+ eclean_command = 'eclean-%s -d packages' % input.board
+ err = os.system(eclean_command)
+ if err != 0:
+ raise Exception('failed to execute %s' % emerge_command)
def OverrideWSGIServer(server_address, wsgi_app):
"""Creates a CherryPyWSGIServer instance.
« no previous file with comments | « no previous file | gmerge » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698