mirror of
https://gitlab.com/ytdl-org/youtube-dl.git
synced 2025-11-14 00:00:37 -05:00
[__init__] Work around flake8 false positive
This commit is contained in:
@@ -244,6 +244,7 @@ def _real_main(argv=None):
|
||||
if opts.xattr_set_filesize:
|
||||
try:
|
||||
import xattr
|
||||
xattr # Confuse flake8
|
||||
except ImportError:
|
||||
parser.error('setting filesize xattr requested but python-xattr is not available')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user