[extractor/common] PEP8

This commit is contained in:
Philipp Hagemeister 2014-07-25 10:43:03 +02:00
parent 36f3542883
commit c3415d1bac

View file

@ -373,7 +373,8 @@ def _search_regex(self, pattern, string, name, default=_NO_DEFAULT, fatal=True,
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