mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Minor cosmetics
This commit is contained in:
parent
c06f94e2c8
commit
7e73825ece
2 changed files with 2 additions and 2 deletions
|
|
@ -1352,7 +1352,7 @@ def normalizePath(filepath):
|
||||||
retVal = filepath
|
retVal = filepath
|
||||||
|
|
||||||
if retVal:
|
if retVal:
|
||||||
retVal = retVal.strip("\r").strip("\n")
|
retVal = retVal.strip("\r\n")
|
||||||
retVal = ntpath.normpath(retVal) if isWindowsDriveLetterPath(retVal) else posixpath.normpath(retVal)
|
retVal = ntpath.normpath(retVal) if isWindowsDriveLetterPath(retVal) else posixpath.normpath(retVal)
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ class Filesystem:
|
||||||
if localFileSize == remoteFileSize:
|
if localFileSize == remoteFileSize:
|
||||||
sameFile = True
|
sameFile = True
|
||||||
infoMsg = "the local file %s and the remote file " % localFile
|
infoMsg = "the local file %s and the remote file " % localFile
|
||||||
infoMsg += "%s have the same size" % remoteFile
|
infoMsg += "%s has the same size" % remoteFile
|
||||||
elif remoteFileSize > localFileSize:
|
elif remoteFileSize > localFileSize:
|
||||||
infoMsg = "the remote file %s is larger than " % remoteFile
|
infoMsg = "the remote file %s is larger than " % remoteFile
|
||||||
infoMsg += "the local file %s" % localFile
|
infoMsg += "the local file %s" % localFile
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue