Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: cms/bin/test_server.py

Issue 5718243582935040: Issue 2127 - Adapt README.md for cms repository (Closed)
Patch Set: Addressed comments Created March 12, 2015, 4:39 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.md ('k') | runserver.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cms/bin/test_server.py
===================================================================
--- a/cms/bin/test_server.py
+++ b/cms/bin/test_server.py
@@ -67,12 +67,9 @@ def show(path=""):
if __name__ == "__main__":
if len(sys.argv) < 2:
print >>sys.stderr, "Usage: %s source_dir" % sys.argv[0]
sys.exit(1)
source = FileSource(sys.argv[1])
- # Make sure to "fix" argv to ensure that restart can succeed
- sys.argv[0:1] = ["-m", "cms.bin.test_server"]
-
app.run(debug=True)
« no previous file with comments | « README.md ('k') | runserver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld