mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 00:17:51 +08:00
[__init__] Work around flake8 false positive
This commit is contained in:
parent
37f4ce538a
commit
cc1237f484
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user