Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r70504:e5b9edc29efe
Date: 2014-04-09 11:39 -0700
http://bitbucket.org/pypy/pypy/changeset/e5b9edc29efe/

Log:    nitpicking

diff --git a/pypy/module/sys/initpath.py b/pypy/module/sys/initpath.py
--- a/pypy/module/sys/initpath.py
+++ b/pypy/module/sys/initpath.py
@@ -151,7 +151,7 @@
     path, prefix = find_stdlib(get_state(space), executable)
     if path is None:
         return space.w_None
-    space.setitem(space.sys.w_dict, space.wrap('prefix'), space.wrap(prefix))
-    space.setitem(space.sys.w_dict, space.wrap('exec_prefix'),
-                  space.wrap(prefix))
+    w_prefix = space.wrap(prefix)
+    space.setitem(space.sys.w_dict, space.wrap('prefix'), w_prefix)
+    space.setitem(space.sys.w_dict, space.wrap('exec_prefix'), w_prefix)
     return space.newlist([space.wrap(p) for p in path])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to