[__init__] Work around flake8 false positive
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 25 Jan 2015 04:17:38 +0000 (05:17 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 25 Jan 2015 04:17:43 +0000 (05:17 +0100)
youtube_dl/__init__.py

index 112a8ba60ec3f0322beadc28e4a461278cb38fec..71d2c6f350beacecda8f844c2bd337c95732c61a 100644 (file)
@@ -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')