[pypy-svn] r58981 - pypy/build/benchmem

hpk at codespeak.net hpk at codespeak.net
Sat Oct 11 16:26:18 CEST 2008


Author: hpk
Date: Sat Oct 11 16:26:17 2008
New Revision: 58981

Modified:
   pypy/build/benchmem/runbench.py
Log:
(xoraxax,hpk) also account for lib-python2.5 (on maemo cpython loads mostly as a lib)


Modified: pypy/build/benchmem/runbench.py
==============================================================================
--- pypy/build/benchmem/runbench.py	(original)
+++ pypy/build/benchmem/runbench.py	Sat Oct 11 16:26:17 2008
@@ -276,7 +276,7 @@
                     if not (mapping.filename == "[heap]"
                         or not mapping.filename):
                         matches = False
-                elif not mapping.filename.endswith(group):
+                elif not group in mapping.filename:
                     matches = False
             if kind is not None:
                 if kind is self.CODE and mapping.mode != 'r-xp':



More information about the Pypy-commit mailing list