Merge pull request #219 from kivy/std_out_fix

stdout fix for iOS 10 debugging
This commit is contained in:
Richard Larkin 2016-11-07 19:38:06 +02:00 committed by GitHub
commit 00fdf3c60d

View file

@ -121,8 +121,8 @@ 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" \
"# Fake redirection to supress console output\n" \
"if environ.get('KIVY_NO_CONSOLE', '0') == '1':\n" \
" class fakestd(object):\n" \
" def write(self, *args, **kw): pass\n" \
" def flush(self, *args, **kw): pass\n" \