[pypy-commit] pypy default: fix 341a34c7d62f
bdkearns
noreply at buildbot.pypy.org
Tue Apr 9 05:18:46 CEST 2013
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r63159:3781a93fc433
Date: 2013-04-08 23:18 -0400
http://bitbucket.org/pypy/pypy/changeset/3781a93fc433/
Log: fix 341a34c7d62f
diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py
--- a/lib_pypy/_sqlite3.py
+++ b/lib_pypy/_sqlite3.py
@@ -258,6 +258,7 @@
""")
libname = 'sqlite3'
if sys.platform == 'win32':
+ import os
_libname = os.path.join(os.path.dirname(sys.executable), libname)
if os.path.exists(_libname + '.dll'):
libname = _libname
More information about the pypy-commit
mailing list