mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Ignore .svn instead of CVS now.
This commit is contained in:
parent
17e9863586
commit
9ca9f5676c
1 changed files with 3 additions and 3 deletions
|
|
@ -907,7 +907,7 @@ def add_files(db):
|
||||||
pydirs = [(root,"Lib")]
|
pydirs = [(root,"Lib")]
|
||||||
while pydirs:
|
while pydirs:
|
||||||
parent, dir = pydirs.pop()
|
parent, dir = pydirs.pop()
|
||||||
if dir == "CVS" or dir.startswith("plat-"):
|
if dir == ".svn" or dir.startswith("plat-"):
|
||||||
continue
|
continue
|
||||||
elif dir in ["lib-tk", "idlelib", "Icons"]:
|
elif dir in ["lib-tk", "idlelib", "Icons"]:
|
||||||
if not have_tcl:
|
if not have_tcl:
|
||||||
|
|
@ -957,9 +957,9 @@ def add_files(db):
|
||||||
lib.add_file("wininst-6.exe")
|
lib.add_file("wininst-6.exe")
|
||||||
lib.add_file("wininst-7.1.exe")
|
lib.add_file("wininst-7.1.exe")
|
||||||
if dir=="data" and parent.physical=="test" and parent.basedir.physical=="email":
|
if dir=="data" and parent.physical=="test" and parent.basedir.physical=="email":
|
||||||
# This should contain all non-CVS files listed in CVS
|
# This should contain all non-.svn files listed in subversion
|
||||||
for f in os.listdir(lib.absolute):
|
for f in os.listdir(lib.absolute):
|
||||||
if f.endswith(".txt") or f=="CVS":continue
|
if f.endswith(".txt") or f==".svn":continue
|
||||||
if f.endswith(".au") or f.endswith(".gif"):
|
if f.endswith(".au") or f.endswith(".gif"):
|
||||||
lib.add_file(f)
|
lib.add_file(f)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue