浏览代码

[extractor/common] PEP8

Philipp Hagemeister 11 年之前
父节点
当前提交
c3415d1bac
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      youtube_dl/extractor/common.py

+ 2 - 1
youtube_dl/extractor/common.py

@@ -373,7 +373,8 @@ class InfoExtractor(object):
         else:
         else:
             for p in pattern:
             for p in pattern:
                 mobj = re.search(p, string, flags)
                 mobj = re.search(p, string, flags)
-                if mobj: break
+                if mobj:
+                    break
 
 
         if os.name != 'nt' and sys.stderr.isatty():
         if os.name != 'nt' and sys.stderr.isatty():
             _name = u'\033[0;34m%s\033[0m' % name
             _name = u'\033[0;34m%s\033[0m' % name