mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Minor cosmetics
This commit is contained in:
parent
c06f94e2c8
commit
7e73825ece
|
@ -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 New Issue
Block a user