27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
# HG changeset patch
|
|
# User Armin Rigo <arigo@tunes.org>
|
|
# Date 1339165065 -7200
|
|
# Node ID 4151f9c406b62f6c4a1fdd669389eb46eb90f9cb
|
|
# Parent 68f8d7152a45fa7856a2a013799874614fcd9c33
|
|
issue1043 3rd issue fixed
|
|
|
|
diff -r 68f8d7152a45fa7856a2a013799874614fcd9c33 -r 4151f9c406b62f6c4a1fdd669389eb46eb90f9cb pypy/translator/goal/app_main.py
|
|
--- a/pypy/translator/goal/app_main.py Fri Jun 08 16:06:33 2012 +0200
|
|
+++ b/pypy/translator/goal/app_main.py Fri Jun 08 16:17:45 2012 +0200
|
|
@@ -457,13 +457,13 @@
|
|
|
|
if PYTHON26 and not options["ignore_environment"]:
|
|
if os.getenv('PYTHONNOUSERSITE'):
|
|
- options["no_user_site"] = True
|
|
+ options["no_user_site"] = 1
|
|
if os.getenv('PYTHONDONTWRITEBYTECODE'):
|
|
- options["dont_write_bytecode"] = True
|
|
+ options["dont_write_bytecode"] = 1
|
|
|
|
if (options["interactive"] or
|
|
(not options["ignore_environment"] and os.getenv('PYTHONINSPECT'))):
|
|
- options["inspect"] = True
|
|
+ options["inspect"] = 1
|
|
|
|
if PYTHON26 and we_are_translated():
|
|
flags = [options[flag] for flag in sys_flags]
|