Skip to content

Commit

Permalink
Merge pull request #2768 from scragraham/issue-2765
Browse files Browse the repository at this point in the history
Fix list comprehension
  • Loading branch information
cdonati authored May 25, 2018
2 parents 1ba3952 + 648f6e9 commit f56a194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppDB/appscale/datastore/datastore_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -3224,7 +3224,7 @@ def apply_txn_changes(self, app, txn):
composite_indices = [entity_pb.CompositeIndex(index)
for index in self.datastore_batch.get_indices(app)]

decoded_groups = (entity_pb.Reference(group) for group in tx_groups)
decoded_groups = [entity_pb.Reference(group) for group in tx_groups]
self.transaction_manager.set_groups(app, txn, decoded_groups)

# Allow the lock to stick around if there is an issue applying the batch.
Expand Down

0 comments on commit f56a194

Please sign in to comment.