Removed std out re-direction
This commit is contained in:
parent
51402e0520
commit
d4e3635802
1 changed files with 0 additions and 7 deletions
|
@ -121,13 +121,6 @@ void load_custom_builtin_importer() {
|
|||
"import sys, imp\n" \
|
||||
"from os import environ\n" \
|
||||
"from os.path import exists, join\n" \
|
||||
"# Fake redirection when we run the app without xcode\n" \
|
||||
"if 'CFLOG_FORCE_STDERR' not in environ:\n" \
|
||||
" class fakestd(object):\n" \
|
||||
" def write(self, *args, **kw): pass\n" \
|
||||
" def flush(self, *args, **kw): pass\n" \
|
||||
" sys.stdout = fakestd()\n" \
|
||||
" sys.stderr = fakestd()\n" \
|
||||
"# Custom builtin importer for precompiled modules\n" \
|
||||
"class CustomBuiltinImporter(object):\n" \
|
||||
" def find_module(self, fullname, mpath=None):\n" \
|
||||
|
|
Loading…
Add table
Reference in a new issue