[pypy-commit] pypy default: nitpicking
pjenvey
noreply at buildbot.pypy.org
Wed Apr 9 20:40:55 CEST 2014
Author: Philip Jenvey <pjenvey at underboss.org>
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])
More information about the pypy-commit
mailing list