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

Unified Diff: runserver.py

Issue 6236544096534528: Issue 2578 - Refactored and added missing hidden import (Closed)
Patch Set: Created May 22, 2015, 9:02 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 | « cms/bin/test_server.py ('k') | runserver.spec » ('j') | runserver.spec » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runserver.py
===================================================================
--- a/runserver.py
+++ b/runserver.py
@@ -1,14 +1,4 @@
#!/usr/bin/env python
-# 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. ;)
import runpy
-import sys
-import os
-
-# Make sure hidden imports are found
-import cms.bin.test_server
-import markdown.extensions.attr_list
-
-if len(sys.argv) < 2:
- sys.argv.append(os.curdir)
runpy.run_module("cms.bin.test_server", run_name="__main__")
« 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