From: Sergey M․ Date: Wed, 13 May 2020 22:11:42 +0000 (+0700) Subject: [bbccouk] PEP8 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=327593257c64b7f37440bd1ccea0e6935c30e68a;p=youtube-dl [bbccouk] PEP8 --- diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py index 901c5a54f..002c39c39 100644 --- a/youtube_dl/extractor/bbc.py +++ b/youtube_dl/extractor/bbc.py @@ -528,7 +528,7 @@ class BBCCoUkIE(InfoExtractor): def get_programme_id(item): def get_from_attributes(item): - for p in('identifier', 'group'): + for p in ('identifier', 'group'): value = item.get(p) if value and re.match(r'^[pb][\da-z]{7}$', value): return value