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) |