Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e73825

Browse files
committed
Minor cosmetics
1 parent c06f94e commit 7e73825

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ def normalizePath(filepath):
13521352
retVal = filepath
13531353

13541354
if retVal:
1355-
retVal = retVal.strip("\r").strip("\n")
1355+
retVal = retVal.strip("\r\n")
13561356
retVal = ntpath.normpath(retVal) if isWindowsDriveLetterPath(retVal) else posixpath.normpath(retVal)
13571357

13581358
return retVal

plugins/generic/filesystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _checkFileLength(self, localFile, remoteFile, fileRead=False):
6565
if localFileSize == remoteFileSize:
6666
sameFile = True
6767
infoMsg = "the local file %s and the remote file " % localFile
68-
infoMsg += "%s have the same size" % remoteFile
68+
infoMsg += "%s has the same size" % remoteFile
6969
elif remoteFileSize > localFileSize:
7070
infoMsg = "the remote file %s is larger than " % remoteFile
7171
infoMsg += "the local file %s" % localFile

0 commit comments

Comments
 (0)