[pypy-commit] pypy default: missing import

pjenvey noreply at buildbot.pypy.org
Sun Aug 25 01:15:56 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: 
Changeset: r66311:dbcd4a6232fd
Date: 2013-08-24 16:14 -0700
http://bitbucket.org/pypy/pypy/changeset/dbcd4a6232fd/

Log:	missing import

diff --git a/rpython/rtyper/module/ll_os.py b/rpython/rtyper/module/ll_os.py
--- a/rpython/rtyper/module/ll_os.py
+++ b/rpython/rtyper/module/ll_os.py
@@ -1566,7 +1566,7 @@
 
     @registering_if(os, 'fork')
     def register_os_fork(self):
-        from rpython.rlib import rthread, debug
+        from rpython.rlib import debug, rthread
         eci = self.gcc_profiling_bug_workaround('pid_t _noprof_fork(void)',
                                                 'return fork();')
         os_fork = self.llexternal('_noprof_fork', [], rffi.PID_T,
@@ -1613,7 +1613,7 @@
 
     @registering_if(os, 'forkpty')
     def register_os_forkpty(self):
-        from rpython.rlib import rthread
+        from rpython.rlib import debug, rthread
         os_forkpty = self.llexternal(
             'forkpty',
             [rffi.INTP, rffi.VOIDP, rffi.VOIDP, rffi.VOIDP],


More information about the pypy-commit mailing list