mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Some more PEPing (I hope that I haven't broke anything)
This commit is contained in:
@@ -69,7 +69,7 @@ class xrange(object):
|
||||
if isinstance(index, slice):
|
||||
start, stop, step = index.indices(self._len())
|
||||
return xrange(self._index(start),
|
||||
self._index(stop), step*self.step)
|
||||
self._index(stop), step * self.step)
|
||||
elif isinstance(index, (int, long)):
|
||||
if index < 0:
|
||||
fixed_index = index + self._len()
|
||||
|
||||
Reference in New Issue
Block a user