# HG changeset patch # User Bernhard Urban # Date 1398265332 -7200 # Node ID d89ed48ae34903d5bbe125f4deec9f9e17c098c1 # Parent 25633b639fd7f81364b0704cfcd6e7476efe29ab mx: use generators diff -r 25633b639fd7 -r d89ed48ae349 mx/mx_graal.py --- 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')