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

Unified Diff: chrome/common/extensions/docs/server2/preview.py

Issue 10829149: Extensions Docs Server: preview.py fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/preview.py
diff --git a/chrome/common/extensions/docs/server2/preview.py b/chrome/common/extensions/docs/server2/preview.py
index 778a45564be84e2403f4e2d89eb01d2f7e62050c..1acda2b86ba310794eacfd8832566e4f8adbb11e 100755
--- a/chrome/common/extensions/docs/server2/preview.py
+++ b/chrome/common/extensions/docs/server2/preview.py
@@ -14,10 +14,13 @@
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
import optparse
import os
+import shutil
from StringIO import StringIO
import sys
import urlparse
+import build_server
+build_server.main()
not at google - send to devlin 2012/08/02 19:49:07 comment plz
cduvall 2012/08/02 19:52:08 Done.
from handler import Handler
class Response(object):
@@ -71,3 +74,4 @@ if __name__ == '__main__':
server.serve_forever()
finally:
server.socket.close()
+ shutil.rmtree(os.path.join(sys.argv[0].rsplit(os.sep, 1)[0], 'third_party'))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698