mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
One more 2to3 baby step
This commit is contained in:
parent
7074365f8e
commit
2c270ed250
10 changed files with 20 additions and 20 deletions
|
|
@ -148,7 +148,7 @@ class BigArray(list):
|
|||
if y < 0:
|
||||
y += len(self)
|
||||
|
||||
index = y / self.chunk_length
|
||||
index = y // self.chunk_length
|
||||
offset = y % self.chunk_length
|
||||
chunk = self.chunks[index]
|
||||
|
||||
|
|
@ -159,7 +159,7 @@ class BigArray(list):
|
|||
return self.cache.data[offset]
|
||||
|
||||
def __setitem__(self, y, value):
|
||||
index = y / self.chunk_length
|
||||
index = y // self.chunk_length
|
||||
offset = y % self.chunk_length
|
||||
chunk = self.chunks[index]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue