Author: Manuel Jacob <[email protected]>
Branch: py3k
Changeset: r82001:ae38513dafd2
Date: 2016-01-28 23:32 +0100
http://bitbucket.org/pypy/pypy/changeset/ae38513dafd2/

Log:    Fix import for renamed module rposix -> rposix_stat.

diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/importing.py
--- a/pypy/module/imp/importing.py
+++ b/pypy/module/imp/importing.py
@@ -15,7 +15,7 @@
 from rpython.rlib.streamio import StreamErrors
 from rpython.rlib.objectmodel import we_are_translated, specialize
 from rpython.rlib.signature import signature
-from rpython.rlib import rposix, types
+from rpython.rlib import rposix_stat, types
 from pypy.module.sys.version import PYPY_VERSION
 
 _WIN32 = sys.platform == 'win32'
@@ -465,7 +465,7 @@
 
         # Directory should not exist
         try:
-            st = rposix.stat(_WIN32Path(path) if win32 else path)
+            st = rposix_stat.stat(_WIN32Path(path) if win32 else path)
         except OSError:
             pass
         else:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to