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

Side by Side Diff: runserver.py

Issue 4800587984011264: Noissue - [cms] Cleanup imports (Closed)
Patch Set: Created May 5, 2015, 2:03 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
« no previous file with comments | « cms/utils.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # This is a stub script loading test_server module, used by PyInstaller. 2 # This is a stub script loading test_server module, used by PyInstaller.
3 3
4 import runpy, sys, os 4 import runpy
5 import sys
6 import os
5 7
6 # Make sure hidden imports are found 8 # Make sure hidden imports are found
7 import cms.bin.test_server 9 import cms.bin.test_server
8 import markdown.extensions.attr_list 10 import markdown.extensions.attr_list
9 11
10 if len(sys.argv) < 2: 12 if len(sys.argv) < 2:
11 sys.argv.append(os.curdir) 13 sys.argv.append(os.curdir)
12 runpy.run_module("cms.bin.test_server", run_name="__main__") 14 runpy.run_module("cms.bin.test_server", run_name="__main__")
OLDNEW
« no previous file with comments | « cms/utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld