[pypy-commit] pypy release-2.1.x: Try to finally fix translation.

Manuel Jacob noreply at buildbot.pypy.org
Wed Jul 24 17:51:28 CEST 2013


Author: Manuel Jacob
Branch: release-2.1.x
Changeset: r65616:740e6f1e4dbf
Date: 2013-07-24 11:41 +0200
http://bitbucket.org/pypy/pypy/changeset/740e6f1e4dbf/

Log:	Try to finally fix translation.

diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py
--- a/pypy/module/posix/__init__.py
+++ b/pypy/module/posix/__init__.py
@@ -69,9 +69,6 @@
         'lstat': 'interp_posix.lstat',
         'stat_float_times': 'interp_posix.stat_float_times',
 
-        'fstatvfs': 'interp_posix.fstatvfs',
-        'statvfs': 'interp_posix.statvfs',
-
         'dup': 'interp_posix.dup',
         'dup2': 'interp_posix.dup2',
         'access': 'interp_posix.access',
@@ -175,7 +172,7 @@
     for name in ['setsid', 'getuid', 'geteuid', 'getgid', 'getegid', 'setuid',
                  'seteuid', 'setgid', 'setegid', 'getgroups', 'getpgrp',
                  'setpgrp', 'getppid', 'getpgid', 'setpgid', 'setreuid',
-                 'setregid', 'getsid', 'setsid']:
+                 'setregid', 'getsid', 'setsid', 'fstatvfs', 'statvfs']:
         if hasattr(os, name):
             interpleveldefs[name] = 'interp_posix.%s' % (name,)
     # not visible via os, inconsistency in nt:


More information about the pypy-commit mailing list