Mercurial > hg > xemacs-beta
view nt/installer/Wise/filelist.py @ 4289:20accccbebd6
[xemacs-hg @ 2007-11-27 22:15:32 by aidan]
Byte compile defcustom init values; save the Lisp values for correct
editing, correct some comments and indentation, and expose some lambda
expressions to the byte compile; make custom-initialize-changed a defubst,
since it's only called from one place and calls to that place cluster.
author | aidan |
---|---|
date | Tue, 27 Nov 2007 22:15:34 +0000 |
parents | 74fd4e045ea6 |
children |
line wrap: on
line source
import os import dirs import string def listdir_recursive(basedir): ret = [] for f in os.listdir(basedir): if os.path.isfile(basedir+"\\"+f): ret.append(f) elif os.path.isdir(basedir+"\\"+f): for f1 in listdir_recursive(basedir+"\\"+f): ret.append(f+"\\"+f1) return ret all = [] for f in listdir_recursive(dirs.installed): if string.find(f,'CVS')>=0: continue all.append((f, dirs.installed, dirs.dst))