commit cc1237f4845e108017687d6727c3dfe6efc3cb4d
parent 37f4ce538ab572812465fa6d0e429bf767a030fd
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Sun, 25 Jan 2015 05:17:38 +0100
[__init__] Work around flake8 false positive
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/youtube_dl/__init__.py b/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')