mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 19:22:48 +00:00
Fixing some Python3.12 naggings
This commit is contained in:
parent
162bafa77d
commit
8430d6ba96
2 changed files with 3 additions and 3 deletions
|
|
@ -880,7 +880,7 @@ def getManualDirectories():
|
|||
def getAutoDirectories():
|
||||
"""
|
||||
>>> pushValue(kb.absFilePaths)
|
||||
>>> kb.absFilePaths = ["C:\\inetpub\\wwwroot\\index.asp", "/var/www/html"]
|
||||
>>> kb.absFilePaths = [r"C:\\inetpub\\wwwroot\\index.asp", "/var/www/html"]
|
||||
>>> getAutoDirectories()
|
||||
['C:/inetpub/wwwroot', '/var/www/html']
|
||||
>>> kb.absFilePaths = popValue()
|
||||
|
|
@ -2308,7 +2308,7 @@ def ntToPosixSlashes(filepath):
|
|||
Replaces all occurrences of NT backslashes in provided
|
||||
filepath with Posix slashes
|
||||
|
||||
>>> ntToPosixSlashes('C:\\Windows')
|
||||
>>> ntToPosixSlashes(r'C:\\Windows')
|
||||
'C:/Windows'
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue