Skip to content

Commit

Permalink
Refer to results, not result in genexpr.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurt Smith committed Jul 14, 2014
1 parent 2760702 commit 21a701c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distarray/dist/context.py
Expand Up @@ -622,7 +622,7 @@ def is_LocalArray(pxy):
result = None
else:
if has_exactly_one(results):
result = next(x for x in result if x is not None)
result = next(x for x in results if x is not None)
else:
result = results

Expand Down

0 comments on commit 21a701c

Please sign in to comment.