Mercurial > hg > xemacs-beta
view nt/installer/Wise/filelist.py @ 2546:5d1743698fb3
[xemacs-hg @ 2005-02-03 05:26:39 by ben]
behavior ws #3: behavior updates
behavior.el: Major update. Add documentation of how it works.
behavior-defs.el: Only define the basic behavior groups here.
Move the definitions for particular packages to the
appropriate package files.
mwheel.el: Add define-behavior for mwheel.
author | ben |
---|---|
date | Thu, 03 Feb 2005 05:26:41 +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))