Author: Brian Kearns <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit