partition is (true, false), not (false, true)

This commit is contained in:
Steven Robertson 2012-01-13 20:53:58 -05:00
parent 4ec9308637
commit ba7962e3db

View File

@ -24,7 +24,7 @@ pycuda = None
QUEUE_LENGTH=50
def partition(pred, arg):
return filter(lambda a: not pred(a), arg), filter(pred, arg)
return filter(pred, arg), filter(lambda a: not pred(a), arg)
def git_rev():
if not os.environ['FLOCK_PATH_IGNORE']: