Mercurial > hg > xemacs-beta
view nt/installer/Wise/filelist.py @ 4351:bc3b9f61018e
Respect the CODESYS argument in #'open-database; don't autodetect EOL.
2007-12-22 Aidan Kehoe <kehoea@parhasard.net>
* database.c (Fopen_database):
Actually respect the CODESYS argument; don't require EOL
autodetection from the coding system, because autodetection mostly
fails with reads of small amounts of data. It might be possible
with an implicit #'map-database on open, though I don't think
that's a great idea.
* database.c (print_database):
Give the coding system used for text conversion when printing a
database object.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 22 Dec 2007 15:02:04 +0100 |
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))