Skip to content

Commit 1316d6a

Browse files
author
Bojan Nikolic
committed
clean comment and space
1 parent 883f158 commit 1316d6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/shutil.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ def _fastcopy_sendfile(fsrc, fdst):
207207
err.filename2 = fdst.name
208208

209209
if err.errno == errno.ENOTSOCK:
210-
# ENOTSOCK: sendfile() on this platform (probably
211-
# Linux < 2.6.33) does not support copies between
212-
# regular files (only sockets).
210+
# sendfile() on this platform (probably Linux < 2.6.33)
211+
# does not support copies between regular files (only
212+
# sockets).
213213
_USE_CP_SENDFILE = False
214214
raise _GiveupOnFastCopy(err)
215215

@@ -227,7 +227,7 @@ def _fastcopy_sendfile(fsrc, fdst):
227227
# back on POSIX read/write method
228228
os.lseek(infd, dstpos, os.SEEK_SET)
229229

230-
raise _GiveupOnFastCopy(err)
230+
raise _GiveupOnFastCopy(err)
231231

232232
if err.errno == errno.ENOSPC: # filesystem is full
233233
raise err from None

0 commit comments

Comments
 (0)