annotate nt/installer/Wise/filelist.py @ 609:13e3d7ae7155
[xemacs-hg @ 2001-06-06 12:34:42 by ben]
nitpicky fixes:
emodules.c, tooltalk.c, process-unix.c: Fix warnings pointed out by Martin.
lisp.h: Correct usage of CBufbyte.
esd.c: indentation changes.
bytecode.c, eval.c, fileio.c: Use CBufbyte instead of char for error/warning functions.
linuxplay.c, miscplay.c, sgiplay.c, sunplay.c: Define DONT_ENCAPSULATE. (All encapsulation is removed in my pending Mule workspace.)
sgiplay.c: Put back #include <audio.h> accidentally removed.
Make play_sound_data return an int, like all other
such functions in *play.c.
sound.c: Fix up documentation of `play-sound'.
sysfile.h: Don't include sys/fcntl.h, as per Martin's advice.
author |
ben |
date |
Wed, 06 Jun 2001 12:34:47 +0000 |
parents |
74fd4e045ea6 |
children |
|
rev |
line source |
398
|
1 import os
|
|
2 import dirs
|
|
3 import string
|
|
4
|
|
5 def listdir_recursive(basedir):
|
|
6 ret = []
|
|
7 for f in os.listdir(basedir):
|
|
8 if os.path.isfile(basedir+"\\"+f):
|
|
9 ret.append(f)
|
|
10 elif os.path.isdir(basedir+"\\"+f):
|
|
11 for f1 in listdir_recursive(basedir+"\\"+f):
|
|
12 ret.append(f+"\\"+f1)
|
|
13 return ret
|
|
14
|
|
15 all = []
|
|
16
|
|
17
|
|
18
|
|
19 for f in listdir_recursive(dirs.installed):
|
|
20 if string.find(f,'CVS')>=0:
|
|
21 continue
|
|
22 all.append((f, dirs.installed, dirs.dst))
|
|
23
|