فهرست منبع

[__init__] Work around flake8 false positive

Philipp Hagemeister 10 سال پیش
والد
کامیت
cc1237f484
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      youtube_dl/__init__.py

+ 1 - 0
youtube_dl/__init__.py

@@ -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')