aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2015-04-27 16:44:58 +0500
committerSergey M. <dstftw@gmail.com>2015-04-27 16:44:58 +0500
commit40b96352c99953aec9272574729077c06c235747 (patch)
tree692f020f9f8b030d1fc008c59a92bc94138023e3 /youtube_dl/utils.py
parent189ba90996d810ea00b165d20d320869efe14518 (diff)
parent0d1bd5d62f29cc1a02c4dd5cea55fe018f9fea97 (diff)
downloadyoutube-dl-40b96352c99953aec9272574729077c06c235747.tar.xz
Merge pull request #5523 from jaimeMF/remove-format-limit
Remove the --max-quality option
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 7de7742e3..7d15eab64 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -1128,15 +1128,6 @@ def shell_quote(args):
return ' '.join(quoted_args)
-def takewhile_inclusive(pred, seq):
- """ Like itertools.takewhile, but include the latest evaluated element
- (the first element so that Not pred(e)) """
- for e in seq:
- yield e
- if not pred(e):
- return
-
-
def smuggle_url(url, data):
""" Pass additional data in a URL for internal use. """