[pypy-svn] r13012 - pypy/dist/pypy/translator/goal

pedronis at codespeak.net pedronis at codespeak.net
Thu Jun 2 19:50:15 CEST 2005


Author: pedronis
Date: Thu Jun  2 19:50:15 2005
New Revision: 13012

Modified:
   pypy/dist/pypy/translator/goal/query.py
Log:
use the official way to get the pbcaccesssets



Modified: pypy/dist/pypy/translator/goal/query.py
==============================================================================
--- pypy/dist/pypy/translator/goal/query.py	(original)
+++ pypy/dist/pypy/translator/goal/query.py	Thu Jun  2 19:50:15 2005
@@ -61,8 +61,8 @@
         return str(x)
 
 def pbcaccess(translator):
-    bk = translator.annotator.bookkeeper
-    for inf in bk.pbc_maximal_access_sets.root_info.itervalues():
+    annotator = translator.annotator
+    for inf in annotator.getpbcaccesssets().root_info.itervalues():
         objs = inf.objects
         print len(objs), ' '.join(map(strfy,rep(objs))), inf.attrs.keys()
 



More information about the Pypy-commit mailing list