projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f4ce5
)
[__init__] Work around flake8 false positive
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 25 Jan 2015 04:17:38 +0000
(
05:17
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 25 Jan 2015 04:17:43 +0000
(
05:17
+0100)
youtube_dl/__init__.py
patch
|
blob
|
history
diff --git
a/youtube_dl/__init__.py
b/youtube_dl/__init__.py
index 112a8ba60ec3f0322beadc28e4a461278cb38fec..71d2c6f350beacecda8f844c2bd337c95732c61a 100644
(file)
--- 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')