[pypy-commit] lang-smalltalk rbitblt: should fix the sources not found issue i had

timfel noreply at buildbot.pypy.org
Thu Jan 9 19:19:55 CET 2014


Author: Tim Felgentreff <timfelgentreff at gmail.com>
Branch: rbitblt
Changeset: r565:b8c725eb9faf
Date: 2014-01-09 18:23 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/b8c725eb9faf/

Log:	should fix the sources not found issue i had

diff --git a/targetimageloadingsmalltalk.py b/targetimageloadingsmalltalk.py
--- a/targetimageloadingsmalltalk.py
+++ b/targetimageloadingsmalltalk.py
@@ -191,7 +191,7 @@
     if path is None:
         path = "Squeak.image"
 
-    path = os.path.join(os.getcwd(), path)
+    path = os.path.abspath(path)
     try:
         f = open_file_as_stream(path, mode="rb", buffering=0)
     except OSError as e:


More information about the pypy-commit mailing list