annotate nt/installer/Wise/filelist.py @ 4619:75e7ab37b6c8
Fix query-coding-tests.el failures, non-mule ELCs, mule build.
lisp/ChangeLog addition:
2009-02-17 Aidan Kehoe <kehoea@parhasard.net>
* unicode.el (unicode-query-coding-region):
Avoid eval-when-compile where that gives incorrect results when
compiled on a non-Mule XEmacs but run on a Mule XEmacs. Fixes
problems seen by
20a807210902131835o2f25930apaffabb6b62a95e5f@mail.gmail.com ,
thank you Vin!
(An equivalent way to get the efficiency of the eval-when-compile
would be to provide two defvars, evaluated at dump time, but this
code will be in C soon enough, and we can use the relevant
preprocessor constants there.)
author |
Aidan Kehoe <kehoea@parhasard.net> |
date |
Tue, 17 Feb 2009 08:35:13 +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
|