Skip to content

Commit

Permalink
PYCBC-14: Extract the right thing from the item for incr/decr.
Browse files Browse the repository at this point in the history
Change-Id: I623fe722babd52949fc4c4758879f46193ca9bb0
  • Loading branch information
ingenthr committed Sep 6, 2011
1 parent 561e353 commit 0680cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions couchbase/couchbaseclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ def do(self, item):
item["event"].set()
elif item["operation"] == "incr":
key = item["key"]
amount = item["amount"]
amount = item["amt"]
init = item["init"]
expiry = item["expiry"]
try:
Expand All @@ -1096,7 +1096,7 @@ def do(self, item):
item["event"].set()
elif item["operation"] == "decr":
key = item["key"]
amount = item["amount"]
amount = item["amt"]
init = item["init"]
expiry = item["expiry"]
try:
Expand Down

0 comments on commit 0680cfe

Please sign in to comment.