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

Unified Diff: runserver.py

Issue 6364489058353152: Issue 2126 - Adapted CMS for living in its own repository rather than sitescripts (Closed)
Patch Set: Created March 11, 2015, 8:24 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
« .hgignore ('K') | « cms/converters.py ('k') | runserver.spec » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runserver.py
===================================================================
rename from cms/bin/runserver.py
rename to runserver.py
--- a/cms/bin/runserver.py
+++ b/runserver.py
@@ -1,11 +1,11 @@
#!/usr/bin/env python
# This is a stub script loading test_server module, used by PyInstaller.
import runpy, sys, os
# Make sure hidden imports are found
-import sitescripts.cms.bin.test_server
+import cms.bin.test_server
import markdown.extensions.attr_list
sys.argv[1:] = [os.curdir]
-runpy.run_module("sitescripts.cms.bin.test_server", run_name="__main__")
+runpy.run_module("cms.bin.test_server", run_name="__main__")
« .hgignore ('K') | « cms/converters.py ('k') | runserver.spec » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld