[pypy-commit] pypy fileops2: oops

fijal noreply at buildbot.pypy.org
Tue Oct 8 16:58:43 CEST 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: fileops2
Changeset: r67210:3c2f40e66d67
Date: 2013-10-07 17:51 +0200
http://bitbucket.org/pypy/pypy/changeset/3c2f40e66d67/

Log:	oops

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
@@ -1685,7 +1685,7 @@
         def tmpnam_llimpl():
             return rffi.charp2str(os_tmpnam(lltype.nullptr(rffi.CCHARP.TO)))
 
-        return extdef([], None, llimpl=tmpnam_llimpl,
+        return extdef([], str, llimpl=tmpnam_llimpl,
                       export_name="ll_os.ll_os_tmpnam")
 
 # --------------------------- os.stat & variants ---------------------------


More information about the pypy-commit mailing list