mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-17 05:22:21 +00:00
Fixes CI/CD errors
This commit is contained in:
parent
0974a0d859
commit
8473e2edc6
2 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ from lib.core.enums import OS
|
|||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.9.27"
|
||||
VERSION = "1.10.9.28"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
|||
|
|
@ -381,7 +381,7 @@ class TestInteractshDNSServer(unittest.TestCase):
|
|||
# draining its pending storage in a single /poll response
|
||||
if names_batch:
|
||||
batch = [{"protocol": "dns", "full-id": n, "unique-id": n} for n in names_batch]
|
||||
names_batch.clear()
|
||||
del names_batch[:]
|
||||
return batch
|
||||
return []
|
||||
client.poll = poll
|
||||
|
|
@ -449,7 +449,7 @@ class TestInteractshDNSServer(unittest.TestCase):
|
|||
# draining its pending storage in a single /poll response
|
||||
if rec_batch:
|
||||
batch = rec_batch[:]
|
||||
rec_batch.clear()
|
||||
del rec_batch[:]
|
||||
return batch
|
||||
return []
|
||||
client.poll = poll
|
||||
|
|
@ -753,7 +753,7 @@ class TestInteractshHTTPRequests(unittest.TestCase):
|
|||
# draining its pending storage in a single /poll response
|
||||
if rec_batch:
|
||||
batch = rec_batch[:]
|
||||
rec_batch.clear()
|
||||
del rec_batch[:]
|
||||
return batch
|
||||
return []
|
||||
client.poll = poll
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue