[pypy-svn] r7433 - in pypy/trunk/src/pypy: annotation/test appspace appspace/test interpreter interpreter/test module/test objspace/flow/test objspace/std objspace/std/test objspace/test tool tool/test translator translator/test translator/tool translator/tool/pygame
bob at codespeak.net
bob at codespeak.net
Fri Nov 19 12:51:00 CET 2004
Author: bob
Date: Fri Nov 19 12:50:59 2004
New Revision: 7433
Modified:
pypy/trunk/src/pypy/annotation/test/autopath.py
pypy/trunk/src/pypy/appspace/autopath.py
pypy/trunk/src/pypy/appspace/test/autopath.py
pypy/trunk/src/pypy/interpreter/autopath.py
pypy/trunk/src/pypy/interpreter/test/autopath.py
pypy/trunk/src/pypy/module/test/autopath.py
pypy/trunk/src/pypy/objspace/flow/test/autopath.py
pypy/trunk/src/pypy/objspace/std/autopath.py
pypy/trunk/src/pypy/objspace/std/test/autopath.py
pypy/trunk/src/pypy/objspace/test/autopath.py
pypy/trunk/src/pypy/tool/autopath.py
pypy/trunk/src/pypy/tool/test/autopath.py
pypy/trunk/src/pypy/translator/autopath.py
pypy/trunk/src/pypy/translator/test/autopath.py
pypy/trunk/src/pypy/translator/tool/autopath.py
pypy/trunk/src/pypy/translator/tool/pygame/autopath.py
Log:
small fix, it thought goal was a package
Modified: pypy/trunk/src/pypy/annotation/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/annotation/test/autopath.py (original)
+++ pypy/trunk/src/pypy/annotation/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/appspace/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/appspace/autopath.py (original)
+++ pypy/trunk/src/pypy/appspace/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/appspace/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/appspace/test/autopath.py (original)
+++ pypy/trunk/src/pypy/appspace/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/interpreter/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/autopath.py (original)
+++ pypy/trunk/src/pypy/interpreter/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/interpreter/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/test/autopath.py (original)
+++ pypy/trunk/src/pypy/interpreter/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/module/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/module/test/autopath.py (original)
+++ pypy/trunk/src/pypy/module/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/objspace/flow/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/flow/test/autopath.py (original)
+++ pypy/trunk/src/pypy/objspace/flow/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/objspace/std/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/autopath.py (original)
+++ pypy/trunk/src/pypy/objspace/std/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/objspace/std/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/test/autopath.py (original)
+++ pypy/trunk/src/pypy/objspace/std/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/objspace/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/test/autopath.py (original)
+++ pypy/trunk/src/pypy/objspace/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/tool/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/tool/autopath.py (original)
+++ pypy/trunk/src/pypy/tool/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/tool/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/tool/test/autopath.py (original)
+++ pypy/trunk/src/pypy/tool/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/translator/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/translator/autopath.py (original)
+++ pypy/trunk/src/pypy/translator/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/translator/test/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/translator/test/autopath.py (original)
+++ pypy/trunk/src/pypy/translator/test/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/translator/tool/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/translator/tool/autopath.py (original)
+++ pypy/trunk/src/pypy/translator/tool/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
Modified: pypy/trunk/src/pypy/translator/tool/pygame/autopath.py
==============================================================================
--- pypy/trunk/src/pypy/translator/tool/pygame/autopath.py (original)
+++ pypy/trunk/src/pypy/translator/tool/pygame/autopath.py Fri Nov 19 12:50:59 2004
@@ -56,6 +56,8 @@
if '.' in name or not isinstance(fn, str):
continue
newname = os.path.splitext(os.path.basename(fn))[0]
+ if not newname.startswith(part + '.'):
+ continue
path = os.path.join(os.path.dirname(os.path.realpath(fn)), '')
if path.startswith(pypy_root) and newname != part:
modpaths = os.path.normpath(path[len(pypy_root):]).split(os.sep)
More information about the Pypy-commit
mailing list