diff mx/mx_graal.py @ 15328:d89ed48ae349

mx: use generators
author Bernhard Urban <bernhard.urban@jku.at>
date Wed, 23 Apr 2014 17:02:12 +0200
parents 25633b639fd7
children 3b56c9bbf60c
line wrap: on
line diff
--- a/mx/mx_graal.py	Wed Apr 23 14:59:05 2014 +0200
+++ b/mx/mx_graal.py	Wed Apr 23 17:02:12 2014 +0200
@@ -862,7 +862,7 @@
         projectscp = mx.classpath(projs)
 
     if whitelist:
-        classes = [c for c in classes if any([glob.match(c) for glob in whitelist])]
+        classes = [c for c in classes if any((glob.match(c) for glob in whitelist))]
 
     if len(classes) != 0:
         f_testfile = open(testfile, 'w')