Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r67242:054c72445b71
Date: 2013-10-09 15:02 +0200
http://bitbucket.org/pypy/pypy/changeset/054c72445b71/
Log: unbreak the translation on top of pypy
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
@@ -50,7 +50,6 @@
'lstat': 'interp_posix.lstat',
'stat_float_times': 'interp_posix.stat_float_times',
- 'ctermid': 'interp_posix.ctermid',
'dup': 'interp_posix.dup',
'dup2': 'interp_posix.dup2',
'access': 'interp_posix.access',
@@ -150,6 +149,8 @@
interpleveldefs['nice'] = 'interp_posix.nice'
if hasattr(os, 'getlogin'):
interpleveldefs['getlogin'] = 'interp_posix.getlogin'
+ if hasattr(os, 'ctermid'):
+ interpleveldefs['ctermid'] = 'interp_posix.ctermid'
for name in ['setsid', 'getuid', 'geteuid', 'getgid', 'getegid', 'setuid',
'seteuid', 'setgid', 'setegid', 'getgroups', 'getpgrp',
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit