diff setup.py @ 1866:0194beaf511e

reduce reduce, filter and map usage
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 10 Mar 2007 19:20:19 +0100
parents b180f047d918
children 88326c62ae53
line wrap: on
line diff
--- a/setup.py	Fri Mar 09 00:56:44 2007 +0100
+++ b/setup.py	Sat Mar 10 19:20:19 2007 +0100
@@ -193,7 +193,7 @@
     return script
 
 # build list of scripts from their implementation modules
-moin_scripts = map(scriptname, glob.glob('MoinMoin/script/[!_]*.py'))
+moin_scripts = [scriptname(fn) for fn in glob.glob('MoinMoin/script/[!_]*.py')]
 
 
 #############################################################################