Skip to content

Commit

Permalink
optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
jfroche committed Aug 20, 2010
1 parent 0b8bd49 commit cb391b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/batching/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def index(self):
@property
def number(self):
"""See interfaces.IBatch"""
return self.start / self.size + 1
return self.index + 1

@property
def total(self):
Expand Down

0 comments on commit cb391b2

Please sign in to comment.