Minor cosmetics

This commit is contained in:
Miroslav Stampar 2013-01-29 15:34:41 +01:00
parent c06f94e2c8
commit 7e73825ece
2 changed files with 2 additions and 2 deletions

View File

@ -1352,7 +1352,7 @@ def normalizePath(filepath):
retVal = filepath
if retVal:
retVal = retVal.strip("\r").strip("\n")
retVal = retVal.strip("\r\n")
retVal = ntpath.normpath(retVal) if isWindowsDriveLetterPath(retVal) else posixpath.normpath(retVal)
return retVal

View File

@ -65,7 +65,7 @@ class Filesystem:
if localFileSize == remoteFileSize:
sameFile = True
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:
infoMsg = "the remote file %s is larger than " % remoteFile
infoMsg += "the local file %s" % localFile