File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -207,9 +207,9 @@ def _fastcopy_sendfile(fsrc, fdst):
207
207
err .filename2 = fdst .name
208
208
209
209
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).
213
213
_USE_CP_SENDFILE = False
214
214
raise _GiveupOnFastCopy (err )
215
215
@@ -227,7 +227,7 @@ def _fastcopy_sendfile(fsrc, fdst):
227
227
# back on POSIX read/write method
228
228
os .lseek (infd , dstpos , os .SEEK_SET )
229
229
230
- raise _GiveupOnFastCopy (err )
230
+ raise _GiveupOnFastCopy (err )
231
231
232
232
if err .errno == errno .ENOSPC : # filesystem is full
233
233
raise err from None
You can’t perform that action at this time.
0 commit comments