Skip to content

Commit

Permalink
Fix client.Elevator.WriteBatch(): s/protocol/transport/
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Leclercq committed Mar 26, 2013
1 parent 50bf5a5 commit 2aaee0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyelevator/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def RangeIter(self, key_from=None, key_to=None, *args, **kwargs):
return RangeIter(range_datas)

def WriteBatch(self):
batch = WriteBatch(protocol=self.protocol,
batch = WriteBatch(transport=self.transport,
endpoint=self.endpoint,
auto_connect=False)
batch.connect(self.db_name)
Expand Down

0 comments on commit 2aaee0f

Please sign in to comment.