Improve code style

This commit is contained in:
Philipp Hagemeister 2014-12-17 00:06:41 +01:00
parent 876bef5937
commit 7af808a5ef
7 changed files with 5 additions and 8 deletions

View file

@ -527,8 +527,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
return 's[%s%s%s]' % (starts, ends, steps)
step = None
start = '(Never used)' # Quelch pyflakes warnings - start will be
# set as soon as step is set
# Quelch pyflakes warnings - start will be set when step is set
start = '(Never used)'
for i, prev in zip(idxs[1:], idxs[:-1]):
if step is not None:
if i - prev == step: