aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-25 10:43:03 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-25 10:43:03 +0200
commitc3415d1bac09acfc2bd26e9187632a837628c10d (patch)
tree76e9b7d783322bb62cf84d7c5500767846397fd6 /youtube_dl/extractor/common.py
parent36f35428831788d8c8f074e96bffa733dd094dae (diff)
downloadyoutube-dl-c3415d1bac09acfc2bd26e9187632a837628c10d.tar.xz
[extractor/common] PEP8
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 88f12797c..52c00186e 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -373,7 +373,8 @@ class InfoExtractor(object):
else:
for p in pattern:
mobj = re.search(p, string, flags)
- if mobj: break
+ if mobj:
+ break
if os.name != 'nt' and sys.stderr.isatty():
_name = u'\033[0;34m%s\033[0m' % name