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

Side by Side Diff: runserver.py

Issue 6236544096534528: Issue 2578 - Refactored and added missing hidden import (Closed)
Patch Set: Created May 22, 2015, 9:02 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # This is a stub script loading test_server module, used by PyInstaller.
Sebastian Noack 2015/05/22 21:19:27 This script is no longer needed as wrapper for PyI
Sebastian Noack 2015/05/22 21:20:10 Heh, I meant for convenience of course. ;)
3 2
4 import runpy 3 import runpy
5 import sys
6 import os
7
8 # Make sure hidden imports are found
9 import cms.bin.test_server
10 import markdown.extensions.attr_list
11
12 if len(sys.argv) < 2:
13 sys.argv.append(os.curdir)
14 runpy.run_module("cms.bin.test_server", run_name="__main__") 4 runpy.run_module("cms.bin.test_server", run_name="__main__")
OLDNEW
« no previous file with comments | « cms/bin/test_server.py ('k') | runserver.spec » ('j') | runserver.spec » ('J')

Powered by Google App Engine
This is Rietveld