aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-25 05:17:38 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-25 05:17:43 +0100
commitcc1237f4845e108017687d6727c3dfe6efc3cb4d (patch)
treeaf5a81d1ea612b02db338c22c12cf16115998a72
parent37f4ce538ab572812465fa6d0e429bf767a030fd (diff)
[__init__] Work around flake8 false positive
-rw-r--r--youtube_dl/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 112a8ba60..71d2c6f35 100644
--- 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')