* Always perform copy/delete on OSError Extends the fix in #400 to handle all potential OSError errno values and attempt a copy/delete in all cases. For example, a combination cross-device move and a permissions change would throw errno 1 instead of errno 18, which wasn't caught here. Instead of messing with individual errno numbers, just always attempt a copy/delete and let those throw their own exceptions if they don't work either. * Remove unused os_error_exc variable |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| chapters.py | ||
| datetime.py | ||
| exceptions.py | ||
| ffmpeg.py | ||
| file_handler.py | ||
| logger.py | ||
| retry.py | ||
| thumbnail.py | ||
| xml.py | ||
| yaml.py | ||