[pypy-svn] r8131 - pypy/trunk/src/pypy/translator/tool

pedronis at codespeak.net pedronis at codespeak.net
Fri Jan 7 14:19:53 CET 2005


Author: pedronis
Date: Fri Jan  7 14:19:53 2005
New Revision: 8131

Modified:
   pypy/trunk/src/pypy/translator/tool/buildpyxmodule.py
Log:
get rid of deprecated .get with changed return value. use property 
directly. test_ctrans.py passes again.



Modified: pypy/trunk/src/pypy/translator/tool/buildpyxmodule.py
==============================================================================
--- pypy/trunk/src/pypy/translator/tool/buildpyxmodule.py	(original)
+++ pypy/trunk/src/pypy/translator/tool/buildpyxmodule.py	Fri Jan  7 14:19:53 2005
@@ -54,7 +54,7 @@
     lastdir = path.local()
     os.chdir(str(dirpath))
     try:
-        modname = cfile.get('purebasename') 
+        modname = cfile.purebasename
         if debug: print "modname", modname
         c = stdoutcapture.Capture(mixed_out_err = True)
         try:



More information about the Pypy-commit mailing list